diff options
-rwxr-xr-x | bin/db-iris | 1 |
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]; |