Exit code 0 means an update was applied, so we should send output

This commit is contained in:
Alex Malinovich 2016-11-17 20:08:00 -08:00
commit 35a799ac03

View file

@ -55,7 +55,7 @@ else
RET=$?
fi
if [ $RET -ne 0 -a $RET -ne 2 -a $RET -ne 5 ]; then
if [ $RET -ne 2 -a $RET -ne 5 ]; then
# Make sure user gets an email about this
cat ${LOGFILE} >&2
else