core/psmisc/psmisc-fuser.patch

12 lines
296 B
Diff
Raw Normal View History

2017-01-03 09:27:44 +08:00
--- 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);
}