Red Hat Bugzilla – Bug 426073
up2date returns exit code 1 when it should return 0
Last modified: 2010-03-28 16:11:09 EDT
Description of problem:
On RHEL-2.1 "up2date -u" returns exit code 1 when there are no packages to
update. up2date returns 0 in same situation on the RHEL-3.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # up2date -u # do all the updates
2. # up2date -u # -> None of the packages you requested were found, or they
are already updated.
3. # echo $?
Setting this as low/low, we just think it should be reported.
From man page:
Update Agent returns 0 on success, 1 on error.