mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
abort only for exit code 1
This commit is contained in:
parent
be2f122b57
commit
66406f5187
@ -151,7 +151,7 @@ check_for_error() {
|
||||
_msg="${_msg}: $(head -n1 ${ERR})"
|
||||
rm "${ERR}"
|
||||
}
|
||||
if ((${_err}!=0)); then
|
||||
if ((${_err}==1)); then
|
||||
_msg="ERROR: ${_msg}"
|
||||
DIALOG " $_ErrTitle " --msgbox "\n$(cat ${ERR})\n" 0 0
|
||||
# and function for varsdump ? _msg="$_msg \n $(declare -p | grep -v " _")"
|
||||
|
Loading…
Reference in New Issue
Block a user