https://bugzilla.novell.com/show_bug.cgi?id=261239#c26
--- Comment #26 from J. Daniel Schmidt
Daniel, could try the patch for ag_background? I slightly changed the exit status handling...
.. even more puzzled ... The patch does not apply correctly. The file ag_background that was installed with oS10.3a7 is different from your original file! Only the lines to be added were missing. I could add them manually. All lines that your patch would have removed alread have been removed. Probably the problem is that the packages are not in sync in autobuild and in SVN?? Well, even when I apply the changes manually the error code always gets lost with ag_background. I substituted the script "suse_register" that I call with ag_background by a shell script that _only_ does an "exit 0" or "exit 1". I switched the exit code (as well as the stdout and stderr output that I needed) before it was called according to the workflow that I wanted to walk through with the registration. I observed that the stdout and stderr output is alway correct - BUT the exit code is always one call behind. To make it clear: script in YCP --------------------------------- exit 1 exit 1 stdout: foo1 stout: foo1 ---------------------------------next call exit 0 exit 1 stdout: bar0 stdout: bar0 ---------------------------------next call exit 0 exit 0 stdout: foobar0 stdout: foobar0 ---------------------------------next call exit 1 exit 0 stdout: fara1 stdout: fara1 --------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.