diff options
Diffstat (limited to 'handlers/ldap.in')
| -rw-r--r-- | handlers/ldap.in | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/handlers/ldap.in b/handlers/ldap.in index 853cefb..fda24d0 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 "$execstr" 2>&1` +         output=`su root -c "set -o pipefail ; $execstr" 2>&1`           code=$?           if [ "$code" == "0" ]; then              debug $output | 
