Commit 3c8bd014 authored by Georg Koppen's avatar Georg Koppen
Browse files

Merge remote-tracking branch 'gitlab/merge-requests/107' into m13

parents e742ccad 638018d2
Pipeline #21476 passed with stages
in 23 minutes and 49 seconds
......@@ -48,13 +48,14 @@ def main():
parser = create_parser()
args = parser.parse_args()
conf = get_config(args)
_ensure_dirs(conf)
_adjust_log_level(args, conf)
conf_valid, conf_errors = validate_config(conf)
if not conf_valid:
for e in conf_errors:
log.critical(e)
exit(1)
# Create directories after the home have been obtained from the config.
_ensure_dirs(conf)
configure_logging(args, conf)
parser.description = sbws_required_disk_space(conf)
def_args = [args, conf]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment