From dee827ed95eaf43e73c5d648e29da84f3ce0a882 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 20 Apr 2016 18:01:36 +0200 Subject: [pam-bwidm] give slxlog a bit of time before deleting the logfile --- remote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote') diff --git a/remote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm b/remote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm index 20970fad..869e92a9 100755 --- a/remote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm +++ b/remote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm @@ -166,7 +166,7 @@ mainret=$? if [ "x$mainret" == "x7" ]; then # exit code 7 is our marker to push the logfile to the sat slxlog "pam-bwidm" "Internal error during bwIDM authentication" "${LOGFILE}" - rm -f -- "${LOGFILE}" + ( sleep 1; rm -f -- "${LOGFILE}" ) & exit 1 fi exit $mainret -- cgit v1.2.3-55-g7522