http://bugzilla.novell.com/show_bug.cgi?id=557862 http://bugzilla.novell.com/show_bug.cgi?id=557862#c2 --- Comment #2 from Matthias Pfafferodt <syntron@web.de> 2009-11-24 21:06:43 UTC --- I got the error again. This time I checked the ./check_zypper script. A global variable $exitcode is defined and set to 0 (=OK) at the beginning of the script. Within the script this variable is used (and the value could be changed) in the function check_errorcode(). This function is called within check(). In the main function, check is called and returns the correct error code. But not this value is used but the (kind of undefined) value of $errorcode. The following patch (hack?) solves the problem by setting $errorcode to the value corresponding to the error returned by check(): --- check_zypper.org 2009-11-24 20:49:39.294295058 +0000 +++ check_zypper 2009-11-24 20:49:04.000000000 +0000 @@ -476,6 +476,7 @@ } else { my ($ret_str,$error)=check(); print "Updates $ret_str"; + $exitcode = $ERRORS{$error}; print STDERR "INFO: Exit-Code: ".$exitcode."\n" if ($DEBUG); exit $exitcode; } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.