Commit 18dcf80d authored by Robert Ricci's avatar Robert Ricci

Remove an over-zealous sanity check. It's OK to have no test

switches, in case we only have wide area nodes. Of course, snmpit
won't _do_ anything, but it shouldn't be an error to run it.
parent 5fe4b014
......@@ -285,11 +285,6 @@ sub getTestSwitches () {
push @switches, $row[0];
}
# Sanity check - make sure we actually found some
if (!@switches) {
die "Failed to find testswitches\n";
}
return @switches;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment