mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
df4cc03682
commit
7f29fd2748
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ foreach my $file (@ARGV) {
|
||||||
}
|
}
|
||||||
close(PATCH);
|
close(PATCH);
|
||||||
if ($file_cnt == @files) {
|
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";
|
. "Add -f to options?\n";
|
||||||
}
|
}
|
||||||
@files = sort_and_uniq(@files);
|
@files = sort_and_uniq(@files);
|
||||||
|
|
Loading…
Reference in a new issue