X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/0c6bf1b6942db440d4296147175d481d60c27cd4..4b1b48e959a7d7a927396fb56c2ee5a235ec7b58:/mr?ds=sidebyside diff --git a/mr b/mr index 6ace1d8..530f2e0 100755 --- a/mr +++ b/mr @@ -263,7 +263,13 @@ print "\nmr $action: finished (".join("; ", showstat($#failed+1, "failed", "failed"), showstat($#skipped+1, "skipped", "skipped"), ).")\n"; -exit @failed ? 1 : 0; +if (@failed) { + exit 1; +} +elsif (! @successful && @skipped) { + exit 1; +} +exit 0; my %loaded; sub loadconfig {