Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
3b3fd781
Commit
3b3fd781
authored
Dec 22, 2000
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tbsetup/tbrun.tcl
tbsetup/tbrun.tcl
+2
-1
No files found.
tbsetup/tbrun.tcl
View file @
3b3fd781
...
...
@@ -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
$ir
File >@
$log
Fp
2>@
$log
Fp"
err
]}
{
if
{[
catch
"exec
$os
_setup
$pid
$eid
$ir
File >@
stdout
2>@
$log
Fp"
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment