mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-11-27 02:22:00 +08:00
Don't diff against /dev/null, use empty stdin instead.
This commit is contained in:
parent
f0754533ad
commit
d4d01424e3
@ -138,7 +138,7 @@ if test $RC != 0 ; then
|
||||
echo "ldapsearch failed ($RC)!"
|
||||
exit $RC
|
||||
fi
|
||||
$CMP $SEARCHOUT /dev/null > $CMPOUT
|
||||
$CMP $SEARCHOUT - < /dev/null > $CMPOUT
|
||||
if test $? != 0 ; then
|
||||
echo "failure: ldapsearch found attribute that was to be removed!"
|
||||
kill -HUP $PID
|
||||
|
Loading…
Reference in New Issue
Block a user