run.sh: fix -status command exit codes