scripts/get_maintainer.pl: change "die" to "warn" when command line file is not a...
authorJoe Perches <joe@perches.com>
Tue, 16 Jun 2009 22:34:04 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:54 +0000 (19:47 -0700)
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>
scripts/get_maintainer.pl

index 19854f51c8f37cc24308ce4a5c1d63cfbee97f65..3e733146cd51c01acd792503162cc43e4b7a3d74 100755 (executable)
@@ -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);