diff options
| author | Jonathan Bauer | 2016-04-20 18:01:36 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2016-04-20 18:01:36 +0200 |
| commit | dee827ed95eaf43e73c5d648e29da84f3ce0a882 (patch) | |
| tree | d8d490211a6f1e8f4a0e454a3b1e1ac5206d7652 /remote/modules/pam-bwidm/data | |
| parent | [pam-bwidm] stdout/stderr redirection + minor fixes (diff) | |
| download | tm-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/pam-bwidm/data')
| -rwxr-xr-x | remote/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm | 2 |
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 |
