X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/f38a8c145b6cc4b0b3ba9a765536c2ddaa235087..788d61bfe0b595669b6c8fd832ec6b7044520563:/mr?ds=inline diff --git a/mr b/mr index 98e080c..d8a27b2 100755 --- a/mr +++ b/mr @@ -853,7 +853,7 @@ sub action { } print "$actionmsg\n" unless $quiet || $minimal; - my $hookret=hook("pre_$action", $topdir, $subdir); + my ($hookret, $hook_out)=hook("pre_$action", $topdir, $subdir); return $hookret if $hookret != OK; my ($ret, $out)=runsh $action, $topdir, $subdir, @@ -908,7 +908,7 @@ sub action { return FAILED; } } - my $ret=hook("fixups", $topdir, $subdir); + my ($ret, $hook_out)=hook("fixups", $topdir, $subdir); return $ret if $ret != OK; }