----- "James Laska" <jlaska(a)redhat.com> wrote:
On Tue, 2010-11-30 at 11:28 +0100, Kamil Páral wrote:
> All the watchers and also the main autoqa script should return
non-zero
> exit code when job scheduling fails. This patch fixes that.
Looks good, thanks! The only question I have is whether there
something
specific about exit_code 10?
Yes, it's greater than zero :-)
I picked it randomly, really. At first I wanted to return the number
of scheduled job failures as a return code (increment with each failure),
but than I realized it overflows at 256 (try to return 256 in Python and
you get 0 in the shell), and it was not really worth the effort to do
it this way. So... 10. :)
Pushed to master, thanks.
Kamil