[Yum] Yum scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2003-09-24 at 09:05, Matthew.Quinney@xxxxxxxxxxxxxxxxxxxxx
wrote:
> Seth,
> 
> I am running simply yum check-update, but nothing is returned to
> Nagios at all. Nagios simply reports 'No output!'.
> 
> From running the command at the command line, should I expect to see a
> 0 returned ? 
> 

No - nothing is outputted on stdout - it's return code to the shell is 0

try this:

yum check-update; echo $?

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux