summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-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' );
}