From: NeilBrown Date: Sun, 22 Apr 2012 04:18:03 +0000 (+1000) Subject: lsusd: create the initial 'watchers' file. X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=37bed55991633dd1d48f1a00bfd5b6dc6070394a;p=susman.git lsusd: create the initial 'watchers' file. I wonder how I managed not to have that already. Signed-off-by: NeilBrown --- 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) {