FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit fbeb7df4 authored by L. Bower's avatar L. Bower
Browse files

fixing faulty logic for checking job success

parent d92b72f3
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ def process_pre_job_server_download(input_args: dict):
status = subprocess_and_log(cmd_check_file, description_short, description_long, check = False,
shell = run_in_shell)
data_is_ready = status.returncode > 0
data_is_ready = status.returncode == 0
if not data_is_ready:
......@@ -97,7 +97,7 @@ def process_pre_job_server_download(input_args: dict):
logger.info(message)
endScript(premature=True)
elif not data_is_ready:
elif data_is_ready:
logger.info(f"Data is available for config {i+1} of {len(config_paths)}, calculation shall proceed")
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment