diff options
Diffstat (limited to 'remote/modules/dnbd3/data/opt/openslx/scripts')
| -rw-r--r-- | remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse b/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse index c11c7448..2ae0d203 100644 --- a/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse +++ b/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse @@ -1,3 +1,6 @@ -usermod -a -G fuse ${PAM_USER} + +usermod -a -G "fuse" "${PAM_USER}" ret=$? -[ $ret -ne 0 ] && slxlog "pam_auth_fuse" "Could not add $PAM_USER to group 'fuse'" +[ "$ret" -ne "0" ] && slxlog "pam-auth-fuse" "Could not add $PAM_USER to group 'fuse'" +true + |
