diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-13 15:41:22 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-03-13 16:06:20 +0000 |
commit | 24c3582b2c3220922bd662d8c3d192697276429d (patch) | |
tree | 0ab9abeb171cd73b154091e5a4f4a86051dd6c41 | |
parent | 1cbe8f8aac2f8332a4a50f60d803e2a2e95cf978 (diff) | |
download | vyos-live-build-24c3582b2c3220922bd662d8c3d192697276429d.tar.gz vyos-live-build-24c3582b2c3220922bd662d8c3d192697276429d.zip |
exit: don't convert numeric exit code to string
-rwxr-xr-x | functions/exit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/exit.sh b/functions/exit.sh index 9264f5db7..edfd50cb9 100755 --- a/functions/exit.sh +++ b/functions/exit.sh @@ -69,14 +69,14 @@ Exit_exit () if [ "${VALUE}" -ne 0 ]; then Echo_error "An unexpected failure occurred, exiting..." fi - Exit "${VALUE}" + Exit ${VALUE} } Exit_other () { local VALUE=$? Echo_warning "Unexpected early exit caught, attempting cleanup..." - Exit "${VALUE}" + Exit ${VALUE} } Setup_clean_exit () |