summaryrefslogtreecommitdiffstats
path: root/core/modules/pam
diff options
context:
space:
mode:
authorJonathan Bauer2019-09-25 11:25:38 +0200
committerJonathan Bauer2019-09-25 11:25:38 +0200
commitfb686c6ea542e6e3a9848e1fc01e4a48bed5acb3 (patch)
tree00ffbcb9a236d030dee3369ed4954c362abf2a65 /core/modules/pam
parent[pam] add libtool dep (diff)
downloadmltk-fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3.tar.gz
mltk-fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3.tar.xz
mltk-fb686c6ea542e6e3a9848e1fc01e4a48bed5acb3.zip
[pam] backward compat: source in subshells
Diffstat (limited to 'core/modules/pam')
-rwxr-xr-xcore/modules/pam/data/opt/openslx/scripts/pam_script_auth2
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