]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence a Perl warning output by stop.pl
authorMichał Kępień <michal@isc.org>
Tue, 12 Mar 2019 07:42:48 +0000 (08:42 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 12 Mar 2019 07:42:48 +0000 (08:42 +0100)
commit91e5a99b9b10e9cb6904f39a26c47e9dfd39693a
tree862d738fc3b0d46a4b01e4f2a6243dc7b71e52b6
parent985d9d9c842a93910e355af2878d5c39febadc49
Silence a Perl warning output by stop.pl

On Unix systems, the CYGWIN environment variable is not set at all when
BIND system tests are run.  If a named instance crashes on shutdown or
otherwise fails to clean up its pidfile and the CYGWIN environment
variable is not set, stop.pl will print an uninitialized value warning
on standard error.  Prevent this by using defined().
bin/tests/system/stop.pl