mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
allow force checkouts even in case of route mismatches
This commit is contained in:
parent
c3a43725d4
commit
40cbfd62df
1 changed files with 1 additions and 1 deletions
|
@ -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' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue