From a8b55f89c73551212214dce1fad21d13d38e498a Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 27 Mar 2024 22:45:07 -0700 Subject: [PATCH] inotifyd: Don't ignore the first mask character. --- toys/other/inotifyd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/toys/other/inotifyd.c b/toys/other/inotifyd.c index 21f57c82..4e886bc5 100644 --- a/toys/other/inotifyd.c +++ b/toys/other/inotifyd.c @@ -55,7 +55,6 @@ void inotifyd_main(void) if (!masks) mask = 0xfff; // default to all else{ - *masks++ = 0; for (*masks++ = 0; *masks; masks++) { i = stridx(masklist, *masks);; if (i == -1) error_exit("bad mask '%c'", *masks); -- 2.39.2