From aa932c4bbd66bdba2ffdd00645c9b423b7bc3a69 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 1 Jul 2014 17:45:22 +0200 Subject: [pam-freiburg] minor --- .../pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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) -- cgit v1.2.3-55-g7522