re-import sources as agreed with the maintainer
This commit is contained in:
parent
f7c1e935f7
commit
ef26ea7389
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,2 +1,9 @@
|
||||
SOURCES/psmisc-23.1.tar.xz
|
||||
psmisc-22.10.tar.gz
|
||||
/psmisc-22.13.tar.gz
|
||||
/psmisc-22.14.tar.gz
|
||||
/psmisc-22.15.tar.gz
|
||||
/psmisc-22.16.tar.gz
|
||||
/psmisc-22.19.tar.gz
|
||||
/psmisc-22.20.tar.gz
|
||||
/psmisc-22.21.tar.gz
|
||||
/psmisc-23.1.tar.xz
|
||||
|
19
psmisc-22.13-fuser-silent.patch
Normal file
19
psmisc-22.13-fuser-silent.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff --git a/src/fuser.c b/src/fuser.c
|
||||
index 4688dfe..d19075a 100644
|
||||
--- a/src/fuser.c
|
||||
+++ b/src/fuser.c
|
||||
@@ -1112,7 +1112,13 @@ print_matches(struct names *names_head, const opt_type opts,
|
||||
|
||||
for (nptr = names_head; nptr != NULL; nptr = nptr->next) {
|
||||
if (opts & OPT_SILENT) {
|
||||
- have_match = nptr->matched_procs ? 1 : have_match;
|
||||
+ for (pptr = nptr->matched_procs; pptr != NULL;
|
||||
+ pptr = pptr->next) {
|
||||
+ if(pptr->proc_type != PTYPE_NORMAL)
|
||||
+ continue;
|
||||
+
|
||||
+ have_match = 1;
|
||||
+ }
|
||||
} else { /* We're not silent */
|
||||
if ((opts & OPT_ALLFILES) == 0) {
|
||||
name_has_procs = 0;
|
Loading…
Reference in New Issue
Block a user