aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-02-15 14:30:51 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-02-15 14:30:51 +0000
commit374053b528a98738e4ed8554e95674636cbf3a15 (patch)
tree07401e3d7f2127d35e8a2a4e628301f1a8018818 /tools
parent327c1562c5e8559f6c011eb5cf5b52745be8cbe7 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/whereintheworld/whereintheworld.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/whereintheworld/whereintheworld.pl b/tools/tools/whereintheworld/whereintheworld.pl
index d64e7e5cee16..6a8e21e0c4a9 100644
--- a/tools/tools/whereintheworld/whereintheworld.pl
+++ b/tools/tools/whereintheworld/whereintheworld.pl
@@ -51,7 +51,7 @@ while ($line = <>) {
}
}
-if (!$error) {
+if (@lines && !$error) {
print shift(@lines);
while (@lines > $thresh) {
shift(@lines);