Bad copy/paste, urgh

This commit is contained in:
Patrick Van der Veken 2021-03-24 11:27:30 +01:00
parent e601284bc8
commit 0ceb4120be

View File

@ -42,7 +42,7 @@
# or LOCAL_CONFIG_FILE instead # or LOCAL_CONFIG_FILE instead
# define the version (YYYY-MM-DD) # define the version (YYYY-MM-DD)
typeset -r SCRIPT_VERSION="2021-01-11" typeset -r SCRIPT_VERSION="2021-03-24"
# name of the global configuration file (script) # name of the global configuration file (script)
typeset -r GLOBAL_CONFIG_FILE="manage_sudo.conf" typeset -r GLOBAL_CONFIG_FILE="manage_sudo.conf"
# name of the local configuration file (script) # name of the local configuration file (script)
@ -1006,10 +1006,10 @@ return 0
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# log an INFO: message (via STDIN). Do not use when STDIN is still open # log an INFO: message (via STDIN). Do not use when STDIN is still open
(( ARG_DEBUG > 0 )) && set "${DEBUG_OPTS}"
# shellcheck disable=SC2120 # shellcheck disable=SC2120
function logc function logc
{ {
(( ARG_DEBUG > 0 )) && set "${DEBUG_OPTS}"
typeset NOW="$(date '+%d-%h-%Y %H:%M:%S')" typeset NOW="$(date '+%d-%h-%Y %H:%M:%S')"
typeset LOG_STDIN="" typeset LOG_STDIN=""
typeset LOG_LINE="" typeset LOG_LINE=""