35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
|
commit 3638cc55b4d08851faba46635d737b24d016665b
|
||
|
Author: Brad Jorsch <anomie@users.sourceforge.net>
|
||
|
Date: Fri Feb 28 21:55:02 2014 +1100
|
||
|
|
||
|
Typo in fuser makes -M on all the time
|
||
|
|
||
|
Brad found that fuser had the -M option on all the time.
|
||
|
A simple but significant typo caused this, thanks the the patch.
|
||
|
|
||
|
Bug-Debian: http://bugs.debian.org/740275
|
||
|
|
||
|
Signed-off-by: Craig Small <csmall@enc.com.au>
|
||
|
|
||
|
================================================================================
|
||
|
--- psmisc-22.21/ChangeLog
|
||
|
+++ psmisc-22.21/ChangeLog
|
||
|
@@ -1,3 +1,6 @@
|
||
|
+Changes in 22.22
|
||
|
+================
|
||
|
+ * Fixed typo in fuser which has -M on Debian #740275
|
||
|
* Make usage of linked lists of devices found in
|
||
|
/proc/self/mountinfo optional
|
||
|
* Make timeout() in timeout.c work with shared mmap to
|
||
|
--- psmisc-22.21/src/fuser.c
|
||
|
+++ psmisc-22.21/src/fuser.c
|
||
|
@@ -1151,7 +1151,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);
|
||
|
}
|
||
|
|