-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Paul,
You would think that seeing only this code snippet. However,
do_controlled_stop is part of nsdc restart and thus if NSD is not
running, we cannot stop it, but we start it anyway (despite it not
being a *re*start).
Best regards,
Matthijs
On 04/18/2013 07:45 PM, Paul Wouters wrote:>
> do_controlled_stop() { if [ -s ${pidfile} ]; then pid=`cat
> ${pidfile}` controlled_stop ${pid} && return 0 else echo "nsd
is
> not running, starting anyway" && return 0 fi return 1 }
>
>
> That should be "stopping anyway"
>
> Paul _______________________________________________ nsd-users
> mailing list nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEcBAEBAgAGBQJRcO9IAAoJEA8yVCPsQCW5R0QH+gLEdga08NNp3WMX2MT31tEI
Yb+Lc8YLIc2t3AR5VXVA7szHh2Buls3MdWj+RcxJYmDiy50V8YcDhYdq25csGM+e
qt1pNo6z82xTg8Vxvt6MOaUwV5Q35ebS5nPBCv4zXxmL14rYdbTKuK/RvClOFCNH
DkB8hVGUaSjPa/vJMQqUHpKPAEObM06wwQtfmJdE3XfNUHtz7eZc29YjNjNfVPV2
d474/TCwoRSc1wfAwHkEWOHjB8KRC4CX9CgGXs0KDAUy0sAyISwo7I0PYm5cthXD
H8U4CHdlVc92u0FTDzbuVNzkXuJw3qGLZPyvbupbkgqBF4LRrvgYsFnw1RhxWnI=cou0
-----END PGP SIGNATURE-----