=================================================================== RCS file: /cvs/nagios/check_rrd/bin/host2rrd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- nagios/check_rrd/bin/host2rrd 2007/01/10 18:01:11 1.1 +++ nagios/check_rrd/bin/host2rrd 2007/01/10 18:05:31 1.2 @@ -1,5 +1,5 @@ #!/usr/bin/perl -T -# $RedRiver$ +# $RedRiver: host2rrd,v 1.1 2007/01/10 18:01:11 andrew Exp $ ######################################################################## # hostalias2filename *** figures out the filename for a wireless # customer to pass to a script. @@ -25,7 +25,7 @@ "rrd|r=s" => \$RRD, ); -die "No host passes!" unless $Host +die "No host passes!" unless $Host; die "No RRD passed!" unless $RRD; my ($server, $client) = split /-/, $Host, 2;