summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJonathan Bauer2014-07-01 17:45:22 +0200
committerJonathan Bauer2014-07-01 17:45:22 +0200
commitaa932c4bbd66bdba2ffdd00645c9b423b7bc3a69 (patch)
treedd285d75692eed6d394cff3b2e22a66d0112f020 /server
parent[pam-freiburg] fix files not being executable (diff)
downloadtm-scripts-aa932c4bbd66bdba2ffdd00645c9b423b7bc3a69.tar.gz
tm-scripts-aa932c4bbd66bdba2ffdd00645c9b423b7bc3a69.tar.xz
tm-scripts-aa932c4bbd66bdba2ffdd00645c9b423b7bc3a69.zip
[pam-freiburg] minor
Diffstat (limited to 'server')
-rw-r--r--server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent2
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)