aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-27 23:00:27 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-27 23:00:27 +0300
commit29cca81476ecb2d3b4a6872ce05d45e279ebd2ab (patch)
tree6e8a9ffa2603d2135b9776f95d2e347e52742907
parent9055a493226bcfd6f7689cd0b07fdba00f034c88 (diff)
downloadtpnotify-29cca81476ecb2d3b4a6872ce05d45e279ebd2ab.tar.gz
tpnotify-29cca81476ecb2d3b4a6872ce05d45e279ebd2ab.tar.bz2
Minor change
-rwxr-xr-xtpnotify2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpnotify b/tpnotify
index 67b0436..46ab9f8 100755
--- a/tpnotify
+++ b/tpnotify
@@ -261,7 +261,7 @@ sub read_mh_path {
if (s/^\s+//) {
$prev .= ' ' . $_;
} else {
- last if $prev =~ /^Path:/;
+ last if defined($prev) && $prev =~ /^Path:/;
$prev = $_;
}
}

Return to:

Send suggestions and report system problems to the System administrator.