Skip to content
GitLab
Menu
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-stable
Commits
18275ba7
Commit
18275ba7
authored
Apr 10, 2001
by
Mac Newbold
Browse files
Fixed it to not call resetvlans with empty list.
parent
2521c62f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbend.in
View file @
18275ba7
...
...
@@ -57,7 +57,7 @@ while (@row = $sth->fetchrow_array) {
$sth
->
finish
;
&tbs_out
("
Resetting VLANs
\n
");
if
(
&tbs_exec
("
resetvlans
"
.
join
("
",
@nodes
)))
{
if
(
@nodes
&&
&tbs_exec
("
resetvlans
"
.
join
("
",
@nodes
)))
{
&tbs_out
("
Failed to reset VLANs
\n
");
exit
(
1
);
}
...
...
Write
Preview
Supports
Markdown
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