diff options
Diffstat (limited to 'server')
| -rw-r--r-- | server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent index ebca86e4..7961f561 100644 --- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent +++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent @@ -50,7 +50,7 @@ if ! grep -q "^${PAM_USER}:" "/etc/passwd"; then unset PASSWD # check if cifs mount worked. - if [ "$PERSISTENT_OK" != "yes" ]; then + if [ -z "$PERSISTENT_OK" ]; then # determine the server and paths to the user's home directory FILESERVER=$(cat /tmp/ldapsearch.${PAM_USER} | grep rufFileserver | cut -d" " -f2) |
