aboutsummaryrefslogtreecommitdiff
path: root/handlers/ldap.in
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/ldap.in')
-rw-r--r--handlers/ldap.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/ldap.in b/handlers/ldap.in
index 83307ee..600f172 100644
--- a/handlers/ldap.in
+++ b/handlers/ldap.in
@@ -91,7 +91,7 @@ if [ "$ldif" == "yes" ]; then
execstr="$execstr > $dumpdir/$dbsuffix.ldif"
fi
debug "$execstr"
- output=`su root -c "set -o pipefail ; $execstr" 2>&1`
+ output=`su root -s /bin/bash -c "set -o pipefail ; $execstr" 2>&1`
code=$?
if [ "$code" == "0" ]; then
debug $output