in reply to Re: Test for daemon
in thread Test for daemon
Minor nit: the questioner was using grep, which is still a nice way to do it:
I'm not familiar with the module, so I don't know if you need the \b in the pattern or not, but it shouldn't hurt.unless (grep(/\binetd\b/, @$proclist)) { print "inetd's not there\n"; }
Untested code, etc., etc.
|
|---|