travelmate: update 1.4.9

* fix a corner case issue with auto expiry of the
  'Faulty Station' list (the last run information was not updated)

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2019-07-08 14:02:47 +02:00
parent f8d595169a
commit 59a69ee059
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -10,7 +10,7 @@
#
LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
trm_ver="1.4.8"
trm_ver="1.4.9"
trm_sysver="unknown"
trm_enabled=0
trm_debug=0
@@ -359,6 +359,7 @@ f_jsnup()
if [ -z "$(printf "%s" "${faulty_list}" | grep -Fo "${faulty_station}")" ]
then
faulty_list="$(f_trim "${faulty_list} ${faulty_station}")"
last_date="$(/bin/date "+%Y.%m.%d-%H:%M:%S")"
fi
fi
json_add_string "travelmate_status" "${status}"