diff options
| author | Jonathan Bauer | 2013-12-02 16:59:42 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-12-02 16:59:42 +0100 |
| commit | 375a05f32f65fdc1671b6eb4b553c4526c0ada53 (patch) | |
| tree | 8f0397e220b88134b2e6d95ab23955fe05eb513b /remote/modules/pam/data | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-375a05f32f65fdc1671b6eb4b553c4526c0ada53.tar.gz tm-scripts-375a05f32f65fdc1671b6eb4b553c4526c0ada53.tar.xz tm-scripts-375a05f32f65fdc1671b6eb4b553c4526c0ada53.zip | |
[pam] lazy umount home directories
Diffstat (limited to 'remote/modules/pam/data')
| -rwxr-xr-x | remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close | 4 |
1 files changed, 2 insertions, 2 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 7c533405..d3b5ebb3 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 @@ -26,10 +26,10 @@ if [ "x${OPENSESSIONS}" == "x1" ]; then pkill -9 -u "${PAM_USER}" # unmount the home directory structure - umount "/home/${PAM_USER}/PERSISTENT" || \ + umount -l "/home/${PAM_USER}/PERSISTENT" || \ echo "Could not unmount '/home/${PAM_USER}/PERSISTENT'." - umount "/home/${PAM_USER}" || \ + umount -l "/home/${PAM_USER}" || \ echo "Could not unmount '/home/${PAM_USER}'." fi |
