oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

[yume] Problem when looking for package info #575

Closed dikim33 closed 7 years ago

dikim33 commented 7 years ago

Reported by valleegr on 30 Oct 2009 06:35 UTC Yume ignores the yum return code when looking for package info. For instance, if a package is not available, yume still returns 0:

$ sudo yum info toto
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.osuosl.org
 * updates: mirrors.gigenet.com
 * addons: mirror.ubiquityservers.com
 * extras: centos.mirrors.tds.net
Error: No matching Packages to list
$ echo $?
1
$ sudo yume --repo http://mirror.centos.org/centos/5.3/os/x86_64/ info toto
Error: No matching Packages to list

$ echo $?
0
dikim33 commented 7 years ago

Comment by valleegr on 30 Oct 2009 06:48 UTC (In [This check-in fixes #575 - yume) Fix a problem with the return code for some errors.