Date: Tue, 01 Sep 1998 09:15:52 +0000 From: Mike Smith <mike@smith.net.au> To: Wolfram Schneider <wosch@panke.de.freebsd.org> Cc: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= <dag-erli@ifi.uio.no>, Wolfram Schneider <wosch@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/killall killall.pl Message-ID: <199809010915.JAA04201@word.smith.net.au> In-Reply-To: Your message of "Tue, 01 Sep 1998 13:00:32 %2B0200." <19980901130032.A1685@panke.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 1998-09-01 12:49:22 +0200, Dag-Erling Coidan Smørgrav wrote: > > Wolfram Schneider <wosch@FreeBSD.ORG> writes: > > > Log: > > > PR: bin/5596 > > > > > > Change the diagnostic if there were no matching processes owned by > > > you. > > > > Hmm, IMHO the old diagnostic was good enough. > > It was a minor change. For example > > old: > $ /usr/bin/killall getty > No matching processes ``getty'' > > new: > $ perl ./killall.pl getty > No matching processes ``getty'' belonging to you It's incorrect if you're root, and still grammatically incorrect. Functionality should also move to 'kill', where the pattern should be a legitimate alternative to a PID. # kill -TERM init Cannot send signal to 'init': permission denied. # kill -TERM foo Cannot send signal to 'foo': no such process. (You might omit this one:) # kill -v -HUP httpd Could not send signal to some processes matching 'httpd': permission denied. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809010915.JAA04201>