Fix return value from compose_systemd()

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
Povilas Kanapickas 2025-05-24 17:10:18 +03:00
parent 1eae76ddca
commit 0be50ffdfb

View File

@ -2638,7 +2638,7 @@ you can stop and disable the service with:
except OSError as e:
log.error("failed to remove file %s: %s", fn, e)
print(f"Failed to remove registration file for project '{proj_name}'")
return 1
sys.exit(1)
else:
log.warning("registration file not found: %s", fn)
print(f"Project '{proj_name}' is not registered")