SCIENTIFIC-LINUX-DEVEL Archives

November 2013

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
William Taylor <[log in to unmask]>
Reply To:
William Taylor <[log in to unmask]>
Date:
Fri, 15 Nov 2013 17:19:16 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
In /etc/cron.daily/yum-autoupdate if yum exits with an error it will
never be considered an
error because cat will exit with no error. This results with errors not
being processed and
emails not going out. Can this be re-written to not rely on cat so this
won't happen ?

/usr/bin/yum -c $TEMPCONFIGFILE -e 0 -d 1 -y $SECURITY update 2>&1 | cat
> $TEMPFILE


Thanks,
 William

ATOM RSS1 RSS2