On Tue, 2012-03-06 at 13:06 +0100, Zdeněk Pavlas wrote:
> Currently, doCommand() may return result=1 to indicate a fatal error,
> or result=0/2 to signal success. Minor errors are usually handled just
> by printing an error message, but they can't change the exit code.
>
> Use a read-write attrib
Currently, doCommand() may return result=1 to indicate a fatal error,
or result=0/2 to signal success. Minor errors are usually handled just
by printing an error message, but they can't change the exit code.
Use a read-write attribute instead of 0 as the exit code, so that minor
errors can change