From 375a05f32f65fdc1671b6eb4b553c4526c0ada53 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 2 Dec 2013 16:59:42 +0100 Subject: [pam] lazy umount home directories --- remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_close | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote/modules') 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 -- cgit v1.2.3-55-g7522