summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4bea730)
raw | patch | inline | side by side (parent: 4bea730)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sat, 8 Jun 2002 00:33:50 +0000 (00:33 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sat, 8 Jun 2002 00:33:50 +0000 (00:33 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@48 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_ntp.pl | patch | blob | history |
index 68acdf65e34c7f3f85f649fdc43b66e03aeebb63..fee58e69deb1107a0c381f567e5939bbc8c53fc0 100755 (executable)
my $key = undef;
# some systems don't have a proper ntpdc/xntpdc
+my $have_ntpdc = undef;
if ($utils::PATH_TO_NTPDC && -x $utils::PATH_TO_NTPDC ) {
- my $have_ntpdc = 1;
+ $have_ntpdc = 1;
}else{
- my $have_ntpdc = 0;
+ $have_ntpdc = 0;
}
# Just in case of problems, let's not hang Nagios