Skip to content
Snippets Groups Projects
Commit 3b4d0aad authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Print newline before executed script to improve readability

parent d2bcf83c
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ def run_script(script,
stdout = None
stderr = None
logger.debug(f"Executing: {script}")
logger.debug(f"Executing script:\n{script}")
result = subprocess.run(["/bin/bash", "-c", script_to_run], stdout=stdout, stderr=stderr)
if check_returncode and result.returncode != 0:
logger.error(f"Subprocess exited with exit code {result.returncode}")
......
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