summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorJonathan Bauer2013-12-02 16:59:42 +0100
committerJonathan Bauer2013-12-02 16:59:42 +0100
commit375a05f32f65fdc1671b6eb4b553c4526c0ada53 (patch)
tree8f0397e220b88134b2e6d95ab23955fe05eb513b /remote/modules
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-375a05f32f65fdc1671b6eb4b553c4526c0ada53.tar.gz
tm-scripts-375a05f32f65fdc1671b6eb4b553c4526c0ada53.tar.xz
tm-scripts-375a05f32f65fdc1671b6eb4b553c4526c0ada53.zip
[pam] lazy umount home directories
Diffstat (limited to 'remote/modules')
-rwxr-xr-xremote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close4
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