Fixed error message for unsupported events
This commit is contained in:
parent
1287532f48
commit
898e114eef
@ -498,7 +498,7 @@ void parse_options(int argc, char **argv)
|
|||||||
case 'm':
|
case 'm':
|
||||||
optmask = nameToMask(optarg);
|
optmask = nameToMask(optarg);
|
||||||
if(optmask == 0) {
|
if(optmask == 0) {
|
||||||
logerror("Not supported inotify event: %s\n", optmask);
|
logerror("Not supported inotify event: %s\n", optarg);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
mask |= optmask;
|
mask |= optmask;
|
||||||
|
Loading…
Reference in New Issue
Block a user