From: Joe Perches Date: Tue, 16 Jun 2009 22:34:04 +0000 (-0700) Subject: scripts/get_maintainer.pl: change "die" to "warn" when command line file is not a... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f29fd2748ac8a8a47c949b26e5a9749b1b804fb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 19854f51c8f3..3e733146cd51 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);