From 40cbfd62dfe4d9e67f0988fcd204b46623f5aec0 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 6 Jun 2024 17:57:15 +0200 Subject: [PATCH] allow force checkouts even in case of route mismatches --- lib/Travelynx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); }