[PATCH aiaiai 1/9] aiaiai-email-test-patchset: correct hook calling to actually grab error

Artem Bityutskiy dedekind1 at gmail.com
Fri Apr 25 15:38:15 PDT 2014

On Wed, 2014-04-09 at 15:26 -0700, Jacob Keller wrote:
> We can't grab the $? value from inside an if block, as the if statement
> already changed the return code. Instead, we just call the hook script
> without an error section, and then check for errors afterwards. This
> corrects an issue where the return code would always be 0, even if the
> command failed.
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>

Pushed the first 3 to the devel branch, thanks!

Best Regards,
Artem Bityutskiy

More information about the aiaiai mailing list