summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 36ee898..44fa754 100755
--- a/bin/efa
+++ b/bin/efa
@@ -214,7 +214,10 @@ sub display_routes {
sub display_connection {
my ($c) = @_;
- if ( $c->delay ) {
+ if ( $c->is_cancelled ) {
+ say '# FAHRT FĂ„LLT AUS';
+ }
+ elsif ( $c->delay ) {
printf( "# +%d, Plan: %s -> %s\n",
$c->delay, $c->departure_stime, $c->arrival_stime );
}