diff --git a/.gitignore b/.gitignore index d91b14a..5f17ce0 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/psmisc-22.13-fuser-silent.patch b/psmisc-22.13-fuser-silent.patch new file mode 100644 index 0000000..e3a3613 --- /dev/null +++ b/psmisc-22.13-fuser-silent.patch @@ -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;