summaryrefslogtreecommitdiff
path: root/bin/efa-m
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa-m')
-rwxr-xr-xbin/efa-m4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 5ab06e1..417daeb 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -426,7 +426,9 @@ sub show_results {
if ($show_jid) {
$output_line[2] .= sprintf( ' %s@%d(%s)%d',
$d->stateless =~ s{ }{}gr,
- $d->stop_id, $d->sched_datetime->strftime('%Y%m%d'), $d->key );
+ scalar $d->route_pre ? ( $d->route_pre )[0]->id : $d->stop_id,
+ $d->sched_datetime->strftime('%Y%m%d'),
+ $d->key );
}
if ( $edata{route} ) {