Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
53f4b824
Commit
53f4b824
authored
Dec 28, 2000
by
Christopher Alfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved freeing of resources to the last step.
parent
282eee4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
tbsetup/tbend.tcl
tbsetup/tbend.tcl
+7
-5
No files found.
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
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