lib/preexec: log an error if `bash-preexec` not loaded

pull/2003/head
John D Pell 2022-01-03 17:49:55 -08:00 committed by John D Pell
parent 9f146f937a
commit 7770e8cbb9
1 changed files with 1 additions and 1 deletions

View File

@ -83,6 +83,6 @@ function safe_append_preexec {
preexec_functions+=("${1}") preexec_functions+=("${1}")
fi fi
else else
: #can't... _log_error "${FUNCNAME[0]}: can't append to preexec hook because _bash-preexec.sh_ hasn't been loaded"
fi fi
} }