core/psmisc/psmisc-fuser.patch
2017-01-03 01:27:44 +00:00

12 lines
296 B
Diff

--- a/src/fuser.c
+++ b/src/fuser.c
@@ -1174,7 +1174,7 @@
usage(_("No process specification given"));
/* Check if -M flag was used and if so check mounts */
- if (opts * OPT_ISMOUNTPOINT) {
+ if (opts & OPT_ISMOUNTPOINT) {
check_mountpoints(&mounts, &names_head, &names_tail);
}