Commit 3b3fd781 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change redirection on call to os_setup. Send some informative stuff to

STDOUT so the web page has something to show for itself.
parent a37b0eeb
......@@ -97,7 +97,7 @@ if {[catch "exec $snmpit -debug -u -f $irFile >@ $logFp 2> $tmpio" err]} {
readfifo $tmpioFP "SNMPIT: "
outs "Resetting OS and rebooting."
if {[catch "exec $os_setup $pid $eid $irFile >@ $logFp 2>@ $logFp" err]} {
if {[catch "exec $os_setup $pid $eid $irFile >@ stdout 2>@ $logFp" err]} {
outs stderr "Error running $os_setup. ($err)"
exit 1
}
......@@ -106,3 +106,4 @@ outs "Testbed ready for use."
close $tmpioFP
file delete -force $tmpio
exit 0
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