Skip to content

Commit

Permalink
inotifyd: Don't ignore the first mask character.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcc authored and landley committed Mar 29, 2024
1 parent 1a5aa17 commit a8b55f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion toys/other/inotifyd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a8b55f8

Please sign in to comment.