Commit 7f29fd2748ac8a8a47c949b26e5a9749b1b804fb

Authored by Joe Perches
Committed by Linus Torvalds
1 parent df4cc03682

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

scripts/get_maintainer.pl
... ... @@ -165,7 +165,7 @@
165 165 }
166 166 close(PATCH);
167 167 if ($file_cnt == @files) {
168   - die "$P: file '${file}' doesn't appear to be a patch. "
  168 + warn "$P: file '${file}' doesn't appear to be a patch. "
169 169 . "Add -f to options?\n";
170 170 }
171 171 @files = sort_and_uniq(@files);