Tru64 diff does support "diff foo /dev/null",

replace with "diff foo - < /dev/null"
This commit is contained in:
Kurt Zeilenga 2001-10-02 08:27:18 +00:00
parent 7ea46e83f9
commit 2f80480ef0

View file

@ -147,7 +147,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