summaryrefslogtreecommitdiffabout
path: root/tpnotify
authorSergey Poznyakoff <gray@gnu.org>2019-07-27 20:00:27 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-07-27 20:00:27 (GMT)
commit29cca81476ecb2d3b4a6872ce05d45e279ebd2ab (patch) (side-by-side diff)
tree6e8a9ffa2603d2135b9776f95d2e347e52742907 /tpnotify
parent9055a493226bcfd6f7689cd0b07fdba00f034c88 (diff)
downloadtpnotify-29cca81476ecb2d3b4a6872ce05d45e279ebd2ab.tar.gz
tpnotify-29cca81476ecb2d3b4a6872ce05d45e279ebd2ab.tar.bz2
Minor change
Diffstat (limited to 'tpnotify') (more/less context) (ignore whitespace changes)
-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.