Update core.func
This commit is contained in:
parent
f0f3032824
commit
2b22c47976
@ -189,7 +189,6 @@ set_std_mode() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Silent execution function
|
||||
SILENT_LOGFILE="/tmp/silent.$$.log"
|
||||
|
||||
silent() {
|
||||
@ -202,8 +201,10 @@ silent() {
|
||||
|
||||
if [[ $rc -ne 0 ]]; then
|
||||
BASH_COMMAND="$cmd"
|
||||
return $rc
|
||||
error_handler "$rc"
|
||||
fi
|
||||
|
||||
return $rc
|
||||
}
|
||||
|
||||
# Check if the shell is using bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user