Don't diff against /dev/null, use empty stdin instead.

This commit is contained in:
Kurt Zeilenga 2001-10-03 19:11:51 +00:00
parent f0754533ad
commit d4d01424e3

View File

@ -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