dev: use 'exit 2' for invalid uses according to the common practice
This commit is contained in:
parent
ddbf884cb5
commit
d047d01b90
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ else
|
|||
case "${resp}" in
|
||||
[Yy]|[Yy][Ee][Ss])
|
||||
sadsay "Watch out! ${resp} is not a valid answer." >&2
|
||||
exit 1
|
||||
exit 2
|
||||
;;
|
||||
[Dd]) docker_update "$@" ;;
|
||||
[Pp]) podman_update "$@" ;;
|
||||
|
|
Loading…
Reference in a new issue