[Dshield] CAUTION email about shell scripting...

Schneelocke schneelocke at gmail.com
Wed Oct 13 19:29:07 GMT 2004


> #!/bin/bash
> [ -x /bin/ps ] && PS_CMD=/bin/ps || mail -s "problem finding ps binary"
> foo at foo.com

Shouldn't you do something similar for mail, too, before using it? ;)
 
-- 
schnee



More information about the list mailing list