summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
Diffstat (limited to 'navit')
-rw-r--r--navit/vehicle/file/vehicle_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/vehicle/file/vehicle_file.c b/navit/vehicle/file/vehicle_file.c
index 807d4998d..1502b9860 100644
--- a/navit/vehicle/file/vehicle_file.c
+++ b/navit/vehicle/file/vehicle_file.c
@@ -684,6 +684,7 @@ static void vehicle_file_io(struct vehicle_priv *priv) {
case 0:
vehicle_file_close(priv);
vehicle_file_open(priv);
+ vehicle_file_enable_watch(priv);
break;
case 1:
vehicle_file_disable_watch(priv);