mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Make daemon not respond at all to a TRANSLATE for which there is no entry.
This commit is contained in:
@@ -2721,6 +2721,7 @@ proc StartBackgroundRemindDaemon {} {
|
||||
fileevent $DaemonFile readable "DaemonReadable $DaemonFile"
|
||||
puts $DaemonFile "STATUS"
|
||||
DoTranslate
|
||||
ScheduleUpdateForChanges
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2938,6 +2939,7 @@ proc DaemonReadable { file } {
|
||||
if {"$cmd" == "inotify"} {
|
||||
# Update our translations if file has changed
|
||||
DoTranslate
|
||||
ScheduleUpdateForChanges
|
||||
}
|
||||
}
|
||||
puts $file "STATUS"
|
||||
|
||||
Reference in New Issue
Block a user