summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 17:12:48 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 17:12:48 +0200
commitbce11bc1300169cba1f30453e32c3afa77c2baae (patch)
treeccd5060cf2e9d2586487efcf3d37ff119fe2aa25
parentc0e55de50c380638e0f3668cac79c58b4dccde10 (diff)
efa-m: only say stop_name if it is known
-rwxr-xr-xbin/efa-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 3664325..4a11f13 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -295,7 +295,7 @@ sub show_results {
say $stop->full_name;
}
}
- else {
+ elsif ($efa->stop_name) {
say $efa->stop_name;
}