Pass '-r' flag to inotifywait

This commit is contained in:
Dianne Skoll
2021-12-22 10:11:21 -05:00
parent cde0e5883e
commit 20bb3eb674

View File

@@ -3644,7 +3644,7 @@ proc SetFonts {} {
proc SetupInotify {} {
global InotifyFP
global ReminderFile
set failed [catch {set InotifyFP [open "|inotifywait -q -m -e close_write -e move -e create -e delete $ReminderFile" "r"] } ]
set failed [catch {set InotifyFP [open "|inotifywait -r -q -m -e close_write -e move -e create -e delete $ReminderFile" "r"] } ]
if {$failed} {
# inotifywait probably not available... meh.
return