[PATCH 10/18] scripts/get_maintainer.pl - change "die" to "warn" when command line file is not a patch

Joe Perches
2009-05-24T02:39:51Z

fixes git send-email with a cover letter

Signed-off-by: Joe Perches <joe@perches.com>
---
scripts/get_maintainer.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 951cb95..9c21826 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -165,7 +165,7 @@ foreach my $file (@ARGV) {
}
close(PATCH);
if ($file_cnt == @files) {
- die "$P: file '${file}' doesn't appear to be a patch. "
+ warn "$P: file '${file}' doesn't appear to be a patch. "
. "Add -f to options?\n";
}
@files = sort_and_uniq(@files);
--
1.6.3.1.10.g659a0.dirty