You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doctor, stop --all and snapshot delete exit 0 when they fail #21
Three commands report a failure but exit 0, so a script or CI job can't tell anything went wrong (#18 fixed the same problem for unknown commands and options):
silo doctor prints N critical issue(s) found. Fix them to use SILO. and exits 0. For example, with Docker stopped and no config.
silo stop --all, when one container can't be removed, prints Failed to stop "<name>", then Sandbox shut down cleanly., and exits 0. A proxy that fails to stop is handled the same way.
silo snapshot delete <name> prints Snapshot "<name>" not found or could not be deleted. and exits 0.
Expected
Exit 1 whenever the command didn't do what it reports, and don't print "shut down cleanly" after a failure.
doctor warnings alone should keep exiting 0.
silo stop without --all already exits 1 when its container can't be stopped, so --all is the odd one out.
Activity