diff options
| author | Christian Rößler | 2014-02-04 18:43:09 +0100 |
|---|---|---|
| committer | Christian Rößler | 2014-02-04 18:43:09 +0100 |
| commit | 1176ab4e38d9a899f59a9a6ab31d808462863c0e (patch) | |
| tree | 750a5332209cfd479bd516bd6d5430a07e810947 /remote/modules | |
| parent | [cups] cups.conf: REQUIRED_BINARIES: + foomatic-rip (diff) | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-1176ab4e38d9a899f59a9a6ab31d808462863c0e.tar.gz tm-scripts-1176ab4e38d9a899f59a9a6ab31d808462863c0e.tar.xz tm-scripts-1176ab4e38d9a899f59a9a6ab31d808462863c0e.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x | remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close b/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close index 826e0a55..dc1db852 100755 --- a/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close +++ b/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close @@ -25,7 +25,7 @@ if [ "x$PAM_SERVICE" = "xsu" -o "x$PAM_SERVICE" = "xsudo" ]; then SESSIONCOUNT=$(( $SESSIONCOUNT + 1 )) fi -if [ "$SESSIONCOUNT" = "1" ]; then +if [ "$SESSIONCOUNT" -le "1" ]; then # last session, close all ghost user processes usleep 100000 2> /dev/null |
