summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-06 17:57:15 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-06 17:57:15 +0200
commit40cbfd62dfe4d9e67f0988fcd204b46623f5aec0 (patch)
treebb4201faccb9b84f62c8bd2b8cbf55d9492dc8ae
parentc3a43725d43126bea108f9080be256bd29f1811c (diff)
allow force checkouts even in case of route mismatches2.6.16
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index ce42cb3..ec17090 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -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' );
}