summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorJonathan Bauer2016-04-20 18:01:36 +0200
committerJonathan Bauer2016-04-20 18:01:36 +0200
commitdee827ed95eaf43e73c5d648e29da84f3ce0a882 (patch)
treed8d490211a6f1e8f4a0e454a3b1e1ac5206d7652 /remote/modules
parent[pam-bwidm] stdout/stderr redirection + minor fixes (diff)
downloadtm-scripts-dee827ed95eaf43e73c5d648e29da84f3ce0a882.tar.gz
tm-scripts-dee827ed95eaf43e73c5d648e29da84f3ce0a882.tar.xz
tm-scripts-dee827ed95eaf43e73c5d648e29da84f3ce0a882.zip
[pam-bwidm] give slxlog a bit of time before deleting the logfile
Diffstat (limited to 'remote/modules')
-rwxr-xr-xremote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm2
1 files changed, 1 insertions, 1 deletions
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