mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fixed returncode for repeatable starts
This commit is contained in:
parent
a6e334c16d
commit
97b0a72ca9
1 changed files with 1 additions and 1 deletions
2
start.py
2
start.py
|
|
@ -296,7 +296,7 @@ def run_disk_mapping_commands(mongo_url):
|
|||
_print("disk mapping args:: {}".format(args))
|
||||
try:
|
||||
output = subprocess.Popen(args)
|
||||
if output.returncode != 0:
|
||||
if output.returncode and output.returncode != 0:
|
||||
exc_msg = "Executing arguments was not successful: \"{}\"".format(
|
||||
args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue