From: Joey Hess Date: Sat, 16 Aug 2008 03:26:41 +0000 (-0400) Subject: Warn if an include command fails nonzero. Closes: #495306 X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/9554e5ff116b47f88f110f6fd710d5b1da42d724?ds=sidebyside Warn if an include command fails nonzero. Closes: #495306 --- diff --git a/debian/changelog b/debian/changelog index 0067088..8a6ff26 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mr (0.35) UNRELEASED; urgency=low + + * Warn if an include command fails nonzero. Closes: #495306 + + -- Joey Hess Fri, 15 Aug 2008 23:26:14 -0400 + mr (0.34) unstable; urgency=low * Fix bug when remembering failed commands in offline mode. diff --git a/mr b/mr index fdc5d89..4dabe9a 100755 --- a/mr +++ b/mr @@ -848,6 +848,9 @@ sub loadconfig { #{{{ if ($parameter eq "include") { print "mr: including output of \"$value\"\n" if $verbose; unshift @lines, `$value`; + if ($?) { + print STDERR "mr: include command exited nonzero ($?)\n"; + } next; }