diff options
author | Jonathan Bauer | 2019-09-25 11:25:38 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-09-25 11:25:38 +0200 |
commit | fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3 (patch) | |
tree | 00ffbcb9a236d030dee3369ed4954c362abf2a65 /core/modules/pam | |
parent | [pam] add libtool dep (diff) | |
download | mltk-fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3.tar.gz mltk-fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3.tar.xz mltk-fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3.zip |
[pam] backward compat: source in subshells
Diffstat (limited to 'core/modules/pam')
-rwxr-xr-x | core/modules/pam/data/opt/openslx/scripts/pam_script_auth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/pam/data/opt/openslx/scripts/pam_script_auth b/core/modules/pam/data/opt/openslx/scripts/pam_script_auth index 60604874..0e764f37 100755 --- a/core/modules/pam/data/opt/openslx/scripts/pam_script_auth +++ b/core/modules/pam/data/opt/openslx/scripts/pam_script_auth @@ -152,7 +152,7 @@ rmdir "${COMMON_SHARE_MOUNT_POINT}" 2> /dev/null if [ -d "/opt/openslx/scripts/pam_script_auth.d" ]; then for HOOK in $(ls "/opt/openslx/scripts/pam_script_auth.d"); do # source it, in case of failure do nothing since these scripts are non-critical - . "/opt/openslx/scripts/pam_script_auth.d/$HOOK" || slxlog "pam-source-hooks" "Could not source '$HOOK'." + ( . "/opt/openslx/scripts/pam_script_auth.d/$HOOK" ) || slxlog "pam-source-hooks" "Could not source '$HOOK'." done fi |