Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

killall(1)

Name: Anonymous 2008-05-25 14:07

I think this command needs to support a -Q switch that does the following:

- Outputs nothing if no processes were killed (like -q)
- Returns exit code 0 if no processes were killed (unlike -q)

Good with you all?

Name: Anonymous 2008-05-25 23:38

>>7
Only thing is, shell scripts consider return code 0 successful and anything nonzero as a failure.

But I could do that, only problem is it would break any existing script that depends on killall to only return 0 or 1.

So I think my idea is better.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List