aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.