Fixed error message for unsupported events

This commit is contained in:
Albert S. 2020-08-20 00:20:52 +02:00
parent 1287532f48
commit 898e114eef

View File

@ -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;