Mailing List Archive

[Bug 701] New: exiwhat should automatically fall back to ps/ kill if multikill not available
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=701
Summary: exiwhat should automatically fall back to ps/kill if
multikill not available
Product: Exim
Version: 4.69
Platform: Other
URL: http://bugs.debian.org/476455
OS/Version: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Unfiled
AssignedTo: nigel@exim.org
ReportedBy: mh+exim-bugzilla@zugschlus.de
CC: exim-dev@exim.org


Hi,

please consider applying the following patch to exiwhat:

--- exim4-4.69~/build-tree/src/exiwhat.src 2008-04-20 08:57:51.000000000
+0200
+++ exim4-4.69/build-tree/src/exiwhat.src 2008-04-20 09:02:04.000000000
+0200
@@ -109,7 +109,7 @@
# Solaris, "killall" kills ALL processes - this is the System V version of
this
# command, and not what we want!

-if [ "$multikill_cmd" != "" ] ; then
+if [ "$multikill_cmd" != "" ] && which "$multikill_cmd" > /dev/null; then
$multikill_cmd $signal "$multikill_arg"

# No multikill command; do it the hard way

This makes exiwhat work even if the multikill command is not present (which may
happen on Debian if the psmisc package is not installed).


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##