aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index c79a4ff..a4b921a 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -117,7 +117,7 @@ sub print_nagios_service_check {
my ($remote, $hostname, $description, $check, $check_args) = @_;
my $template = "server-service";
my $cmd;
- return if $opts{'r'} && remote;
+ return if $opts{'r'} && $remote;
if ($remote) {
$cmd = "check_nrpe!$check";
if (defined $check_args) {