mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
remove dead code block using an unknown variable
- same "if" test in the block above, so this would never be reached
This commit is contained in:
parent
e7125ea079
commit
a55f4e4a4d
1 changed files with 0 additions and 6 deletions
|
@ -133,12 +133,6 @@ if (!defined ($session))
|
||||||
die "Croaking: could not establish SNMP object";
|
die "Croaking: could not establish SNMP object";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!defined ($session))
|
|
||||||
{
|
|
||||||
die "Croaking: $error";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($ARGV[0] and $ARGV[0] eq "config")
|
if ($ARGV[0] and $ARGV[0] eq "config")
|
||||||
{
|
{
|
||||||
print "host_name $host\n";
|
print "host_name $host\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue