From 37bed55991633dd1d48f1a00bfd5b6dc6070394a Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sun, 22 Apr 2012 14:18:03 +1000 Subject: [PATCH] lsusd: create the initial 'watchers' file. I wonder how I managed not to have that already. Signed-off-by: NeilBrown --- lsusd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lsusd.c b/lsusd.c index 53a7fe3..42b1b5c 100644 --- a/lsusd.c +++ b/lsusd.c @@ -193,6 +193,10 @@ main(int argc, char *argv) if (dir < 0 || disable < 0) exit(1); + /* Create the initial files */ + alert_watchers(); + cycle_watchers(); + close(0); while (1) { -- 2.39.5