Commit 7ed1fcf3 authored by Leigh B Stoller's avatar Leigh B Stoller

Kill debugging to log file.

parent b8f62a44
...@@ -223,9 +223,6 @@ sub createExpectObject($) ...@@ -223,9 +223,6 @@ sub createExpectObject($)
} }
$exp->raw_pty(0); $exp->raw_pty(0);
$exp->log_stdout(0); $exp->log_stdout(0);
if ($self->{DEBUG}) {
$exp->log_file("/tmp/snmpit_netscout.log");
}
$exp->spawn($spawn_cmd) $exp->spawn($spawn_cmd)
or die "Cannot spawn $spawn_cmd: $!\n"; or die "Cannot spawn $spawn_cmd: $!\n";
$exp->expect($CLI_TIMEOUT, $exp->expect($CLI_TIMEOUT,
...@@ -787,10 +784,6 @@ sub removePortsFromVlan($@) { ...@@ -787,10 +784,6 @@ sub removePortsFromVlan($@) {
$errors++; $errors++;
} }
} }
if (keys(%{$ports})) {
}
} }
return $errors; return $errors;
} }
......
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