[Toybox] [PATCH] inotifyd: don't ignore first mask
Felix Janda
felix.janda at posteo.de
Sun Mar 8 04:12:28 PDT 2015
---
toys/other/inotifyd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/toys/other/inotifyd.c b/toys/other/inotifyd.c
index f2e11ca..86f1a67 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.0.5
1425813148.0
More information about the Toybox
mailing list