From e461c5e88cc347d496d3a160b9e8275f311f7524 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Fri, 12 Feb 2021 20:44:11 +0100 Subject: banip: bugfix * fix a stale pid file during package update Signed-off-by: Dirk Brenken --- net/banip/files/banip.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/banip/files') diff --git a/net/banip/files/banip.sh b/net/banip/files/banip.sh index aca1c8538..3b78e03d0 100755 --- a/net/banip/files/banip.sh +++ b/net/banip/files/banip.sh @@ -93,6 +93,7 @@ f_load() f_ipset "destroy" f_jsnup "disabled" f_rmbckp + f_rmtmp f_log "info" "banIP is currently disabled, please set the config option 'ban_enabled' to '1' to use this service" exit 0 fi @@ -112,12 +113,12 @@ f_dir() mkdir -p "${dir}" if [ "${?}" = "0" ] then - f_log "info" "directory '${dir}' created" + f_log "debug" "directory '${dir}' created" else f_log "err" "directory '${dir}' could not be created" fi else - f_log "info" "directory '${dir}' is used" + f_log "debug" "directory '${dir}' is used" fi } -- cgit v1.2.3