Update core.func

This commit is contained in:
CanbiZ 2025-09-16 10:04:37 +02:00
parent f0f3032824
commit 2b22c47976

View File

@ -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