[arch-general] [arch-dev-public] [signoff] openssh 5.4p1-2

Byron Clark byron at theclarkfamily.name
Wed Mar 10 18:05:31 CET 2010


On Wed, Mar 10, 2010 at 09:32:15AM -0700, Byron Clark wrote:
> if pidof sshd | grep -q $(cat /var/run/sshd.pid); then
>     echo "pid in /var/run/sshd.pid is valid"
> else
>     echo "invalid pid"
> fi

Ignore that, it isn't entirely safe.

-- 
Byron Clark


More information about the arch-general mailing list