summaryrefslogtreecommitdiff
path: root/bin/db-iris
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-07-29 09:58:11 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-07-29 09:58:11 +0200
commit36951373fcc2aec09606d181404cad22ed291098 (patch)
treed9c3b9da1d892c7da1a780ef58a7be70a6558a32 /bin/db-iris
parent8ec988ecf95d8f279b399531f94be7fd2cfcde82 (diff)
db-iris: Show arrival delays in -ot mode even if departure is on time
Diffstat (limited to 'bin/db-iris')
-rwxr-xr-xbin/db-iris2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-iris b/bin/db-iris
index f62860f..2031577 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -321,7 +321,7 @@ sub display_result {
if ( not defined $d->delay ) {
print "\n";
}
- elsif ( $d->delay == 0 ) {
+ elsif ( $d->delay == 0 and ( $d->arrival_delay // 0 ) == 0 ) {
printf( "%s+0\n", q{ } x 15 );
}
else {