Commit 11c306cf authored by Christopher Alfeld's avatar Christopher Alfeld

Exits silently on no argument.

parent 3eadc480
......@@ -6,7 +6,8 @@
$snmpit = "/usr/testbed/bin/snmpit";
if ($#ARGV < 0) {
die "Syntax: $0 machines\n";
# die "Syntax: $0 machines\n";
exit(0);
}
open(SNMPIT,"$snmpit -l |") || die "Error running $snmpit -l\n";
......
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