From 9554e5ff116b47f88f110f6fd710d5b1da42d724 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 15 Aug 2008 23:26:41 -0400 Subject: [PATCH 1/1] Warn if an include command fails nonzero. Closes: #495306 --- debian/changelog | 6 ++++++ mr | 3 +++ 2 files changed, 9 insertions(+) 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; } -- 2.39.2