diff --git a/tbsetup/tbrun.tcl b/tbsetup/tbrun.tcl index e650f2a6602b49e298b029545fd1567dd1d55316..f4483e017c9af9979287299eaba15153301c1de1 100755 --- a/tbsetup/tbrun.tcl +++ b/tbsetup/tbrun.tcl @@ -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