2
0
Fork 0
mirror of https://github.com/derf/travelynx synced 2024-12-12 14:02:33 +00:00

allow force checkouts even in case of route mismatches

This commit is contained in:
Birte Kristina Friesel 2024-06-06 17:57:15 +02:00
parent c3a43725d4
commit 40cbfd62df
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1080,7 +1080,7 @@ sub startup {
last;
}
}
if ( not $found ) {
if ( not $found and not $force ) {
return $promise->resolve( 1, 'station not found in route' );
}