summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-iris1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/db-iris b/bin/db-iris
index eefb2c6..5db30e1 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -75,6 +75,7 @@ sub get_station {
if ( @stations == 0 ) {
say STDERR "No station matches '$input_name'";
+ exit(1);
}
elsif ( @stations == 1 ) {
return $stations[0][0];