Skip to content
Snippets Groups Projects
Commit d4d01424 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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

parent f0754533
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment