Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
53f4b824
Commit
53f4b824
authored
Dec 28, 2000
by
Christopher Alfeld
Browse files
Moved freeing of resources to the last step.
parent
282eee4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbend.tcl
View file @
53f4b824
...
...
@@ -72,11 +72,6 @@ while {[set machine [sql fetchrow $DB]] != {}} {
lappend machines $machine
}
if
{[
catch
"exec
$nfree
$pid
$eid
>@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error freeing resources. (
$err
)"
exit 1
}
outs
"Resetting VLANs"
if
{[
catch
"exec
$resetvlans
$machines
>@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error reseting vlans (
$err
)"
...
...
@@ -87,3 +82,10 @@ outs "Removing delay entries"
foreach machine $machines
{
sql exec $DB
"delete from delays where node_id =
\"
$machine
\"
"
}
if
{[
catch
"exec
$nfree
$pid
$eid
>@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error freeing resources. (
$err
)"
exit 1
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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