Commit 117c4d98 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

db-iris: exit if no matchin station was found

parent fc8447df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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];