+Changes in 22.10
+================
+ * fuser -k -m ... won't kill itself Debian #562767
Changes in 22.9
===============
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT([psmisc],[22.9])
+AC_INIT([psmisc],[22.10])
AC_CONFIG_SRCDIR([src/comm.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([config])
msgstr ""
"Project-Id-Version: psmisc 22.2pre1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2006-03-07 11:49+0200\n"
"Last-Translator: Anton Zinoviev <zinoviev@debian.org>\n"
"Language-Team: Bulgarian <dict@fsa-bg.org>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Да се убие ли процесът %d? (д/Н) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Процесът %d не може да бъде убит: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Не може да се отвори мрежово гнездо.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Не може да бъде намерен номерът на устройството на гнездото.\n"
msgstr ""
"Project-Id-Version: psmisc 21.6cvs\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2004-12-08 12:46+0100\n"
"Last-Translator: Guillem Jover <guillem@debian.org>\n"
"Language-Team: Catalan <debian-l10n-catalan@lists.debian.org>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Voleu matar el procés %d? (s/N)"
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr ""
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr ""
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, fuzzy, c-format
msgid "Cannot find socket's device number.\n"
msgstr "no s'ha pogut trobar el nombre de dispositiu del sòcol"
msgstr ""
"Project-Id-Version: psmisc 22.6\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2007-11-12 14:18+0100\n"
"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Prozess %d abbrechen? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Kann Prozess %d nicht abbrechen: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr ""
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Kann die Gerätenummer der Sockets nicht finden.\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-09-14 15:54+0100\n"
"Last-Translator: Mikel Olasagasti <hey_neken@mundurat.net>\n"
"Language-Team: Basque <translation-team-eu@lists.sourceforge.net>\n"
msgid "Kill process %d ? (y/N) "
msgstr "%d prozesua hil? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Ezin izan da %d prozesua hil: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Ezin da sare socket bat ireki.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Ezin izan da socket-aren gailu zenbakia aurkitu.\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-25 16:08+0200\n"
"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
"Lähetä signaali prosessille %d? (y=kyllä, N=ei, ”kyllä” yleensä lopettaa "
"prosessin) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Ei voida lähettää signaalia prosessille %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Ei voida avata verkkopistoketta.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "pistokkeen laitenumeroa ei löydy.\n"
msgstr ""
"Project-Id-Version: psmisc 22.6\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2007-11-12 14:27+0100\n"
"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
"Language-Team: French <traduc@traduc.org>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Tuer le processus %d ? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Impossible de tuer le processus %d : %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Impossible d'ouvrir un socket réseau.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Impossible de trouver le numéro du périphérique des sockets\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-19 03:53+0200\n"
"Last-Translator: Gabor Kelemen <kelemeng@gnome.hu>\n"
"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Kilövi a(z) %d folyamatot? (i/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "A(z) %d folymat kilövése nem sikerült: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Nem nyitható meg hálózati foglalat\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Nem található a foglalat eszközszáma.\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-15 13:47+0100\n"
"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Terminare il processo %d? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Impossibile terminare il processo %d: %s\n"
# FIXME
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Impossibile aprire un socket di rete.\n"
# FIXME
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Impossibile trovare il numero di dispositivo del socket.\n"
msgstr ""
"Project-Id-Version: psmisc 22.2pre1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2006-03-20 10:31+0900\n"
"Last-Translator: GOTO Masanori <gotom@debian.or.jp>\n"
"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
msgid "Kill process %d ? (y/N) "
msgstr "¥×¥í¥»¥¹ %d ¤òkill¤·¤Þ¤¹¤«? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "¥×¥í¥»¥¹ %d ¤ò kill ¤Ç¤¤Þ¤»¤ó: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "¥Í¥Ã¥È¥ï¡¼¥¯¥½¥±¥Ã¥È¤¬³«¤±¤Þ¤»¤ó.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "¥½¥±¥Ã¥È¤Î¥Ç¥Ð¥¤¥¹Èֹ椬¸«¤Ä¤«¤ê¤Þ¤»¤ó.\n"
msgstr ""
"Project-Id-Version: psmisc 22.2pre1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2006-03-07 12:01+0100\n"
"Last-Translator: Trond Endrestøl <Trond.Endrestol@fagskolen.gjovik.no>\n"
"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Drepe prosess %d ? (j/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Kunne ikke drepe prosessen %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Kan ikke åpne en nettverkssocket.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Kan ikke finne socketens enhetsnummer.\n"
msgstr ""
"Project-Id-Version: psmisc-22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-28 15:57+0100\n"
"Last-Translator: Erwin Poeze <erwin.poeze@gmail.com>\n"
"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Proces %d afbreken? (j/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Kan proces %d niet afbreken: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Kan netwerk-socket niet openen.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Kan apparaatnummer van socket niet vinden.\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-15 07:40+0200\n"
"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Zabiæ proces %d? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Nie uda³o siê zabiæ procesu %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Nie mo¿na otworzyæ gniazda sieciowego.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Nie mo¿na odnale¼æ numeru urz±dzenia gniazda.\n"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Kill process %d ? (y/N) "
msgstr ""
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr ""
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr ""
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr ""
msgstr ""
"Project-Id-Version: psmisc 1.0\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2001-10-28 22:14-0200\n"
"Last-Translator: Edesio Costa e Silva <edesio+psmisc@ieee.org>\n"
"Language-Team: Portuguese <pt@li.org>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Aborta processo %d ? (y/n) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr ""
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr ""
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, fuzzy, c-format
msgid "Cannot find socket's device number.\n"
msgstr "não pode achar o número de dispositivo do socket"
msgstr ""
"Project-Id-Version: psmisc-21.6pre1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2005-02-24 12:00-0500\n"
"Last-Translator: Laurentiu Buzdugan <lbuz@rolix.org>\n"
"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Terminã process %d ? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr ""
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr ""
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, fuzzy, c-format
msgid "Cannot find socket's device number.\n"
msgstr "nu pot gãsi numerele dispozitivelor socket-urilor"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-15 21:55+0400\n"
"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
"Language-Team: Russian <gnu@mx.ru>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Завершить процесс %d? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Не удалось завершить процесс %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Не удалось открыть сетевой сокет.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Не удалось найти номер устройства сокета.\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-07-15 13:19+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Döda process %d ? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Kunde inte döda process %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Kan inte öppna ett nätverksuttag.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Kan inte hitta uttagets enhetsnummer.\n"
msgstr ""
"Project-Id-Version: psmisc 22.8rc1\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-09-19 16:39+0930\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
msgid "Kill process %d ? (y/N) "
msgstr "Có buốc kết thúc tiến trình %d không? (y/N) (có/không) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "Không thể buộc kết thúc tiến trình %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "Không thể mở một ổ cắm mạng.\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "Không tìm thấy số hiệu thiết bị ổ cắm.\n"
msgstr ""
"Project-Id-Version: psmisc 22.6\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2007-11-06 21:28+0800\n"
"Last-Translator: LI Daobing <lidaobing@gmail.com>\n"
"Language-Team: Chinese (simplified) <translation-team-zh-cn@lists."
msgid "Kill process %d ? (y/N) "
msgstr "杀死进程 %d ? (y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "无法杀死进程 %d: %s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "无法打开网络端口。\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "无法找到 socket 的设备号。\n"
msgstr ""
"Project-Id-Version: psmisc 22.6\n"
"Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n"
-"POT-Creation-Date: 2009-12-27 18:11+1100\n"
+"POT-Creation-Date: 2009-12-28 13:54+1100\n"
"PO-Revision-Date: 2009-03-23 23:10+0800\n"
"Last-Translator: Wei-Lun Chao <chaoweilun@gmail.com>\n"
"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
msgid "Kill process %d ? (y/N) "
msgstr "砍除進程 %d?(y/N) "
-#: src/fuser.c:1496
+#: src/fuser.c:1501
#, c-format
msgid "Could not kill process %d: %s\n"
msgstr "無法砍除進程 %d:%s\n"
-#: src/fuser.c:1508
+#: src/fuser.c:1513
#, c-format
msgid "Cannot open a network socket.\n"
msgstr "無法開啟網路通訊端。\n"
-#: src/fuser.c:1512
+#: src/fuser.c:1517
#, c-format
msgid "Cannot find socket's device number.\n"
msgstr "找不到通訊端裝置編號。\n"
const int sig_number)
{
struct procs *pptr;
+ pid_t *mypid;
+
+ mypid = getpid();
for (pptr = proc_head; pptr != NULL; pptr = pptr->next) {
+ if ( pptr->pid == mypid)
+ continue; /* dont kill myself */
if ( pptr->proc_type == PTYPE_NORMAL )
- continue;
+ continue;
if ((opts & OPT_INTERACTIVE) && (ask(pptr->pid) == 0))
- continue;
+ continue;
if ( kill(pptr->pid, sig_number) < 0) {
fprintf(stderr, _("Could not kill process %d: %s\n"),
pptr->pid, strerror(errno));