exit: don't convert numeric exit code to string
This commit is contained in:
parent
1cbe8f8aac
commit
24c3582b2c
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue