summaryrefslogtreecommitdiff
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-06-16 15:34:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-16 19:47:54 -0700
commit7f29fd2748ac8a8a47c949b26e5a9749b1b804fb (patch)
tree689e0aca5b3b52a30e05fc2a57be9c097db2595e /scripts/get_maintainer.pl
parentdf4cc036828f6027689016a91adadee405eab104 (diff)
downloadlinux-3.10-7f29fd2748ac8a8a47c949b26e5a9749b1b804fb.tar.gz
linux-3.10-7f29fd2748ac8a8a47c949b26e5a9749b1b804fb.tar.bz2
linux-3.10-7f29fd2748ac8a8a47c949b26e5a9749b1b804fb.zip
scripts/get_maintainer.pl: change "die" to "warn" when command line file is not a patch
fixes git send-email with a cover letter Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-xscripts/get_maintainer.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 19854f51c8f..3e733146cd5 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);