diff options
author | Peter Collingbourne <pcc@google.com> | 2024-03-27 22:45:07 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2024-03-29 05:21:05 -0500 |
commit | a8b55f89c73551212214dce1fad21d13d38e498a (patch) | |
tree | 391361c6dbc5043ab570d1ef055f9ea917757514 /toys | |
parent | 1a5aa177109080f0c9b419b9e9a2fcfdd9a18145 (diff) | |
download | toybox-a8b55f89c73551212214dce1fad21d13d38e498a.tar.gz |
inotifyd: Don't ignore the first mask character.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/inotifyd.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |