Fixing mistake in linux inotifier