15 lines
683 B
Diff
15 lines
683 B
Diff
diff -up psmisc-22.6/src/fuser.c.twoerr psmisc-22.6/src/fuser.c
|
|
--- psmisc-22.6/src/fuser.c.twoerr 2010-05-05 13:41:01.000000000 +0200
|
|
+++ psmisc-22.6/src/fuser.c 2010-05-05 13:43:01.000000000 +0200
|
|
@@ -818,8 +818,8 @@ int main(int argc, char *argv[])
|
|
break;
|
|
default: /* FILE */
|
|
this_name->filename = strdup(argv[optc]);
|
|
- parse_file(this_name, &match_inodes);
|
|
- parse_unixsockets(this_name, &match_inodes, unixsockets);
|
|
+ if( parse_file(this_name, &match_inodes) == 0 )
|
|
+ parse_unixsockets(this_name, &match_inodes, unixsockets);
|
|
if (opts & OPT_MOUNTPOINT || opts & OPT_MOUNTS)
|
|
parse_mounts(this_name, &match_devices, opts);
|
|
break;
|