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
d286c15f
Commit
d286c15f
authored
Oct 12, 2016
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an undefined variable that leads to a stated crash.
parent
595a06df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
db/Node.pm.in
db/Node.pm.in
+9
-0
No files found.
db/Node.pm.in
View file @
d286c15f
...
...
@@ -3389,6 +3389,15 @@ sub ResetNextOpMode($$)
if ($bootosid == 0) {
return 0;
}
#
# XXX this has only ever happened once, when a newnode failed to boot
# up properly, but since it will cause stated to die, let'
s
check
for
it
.
#
I
have
no
idea
if
this
is
the
correct
thing
to
set
it
to
,
but
we
do
#
this
below
as
well
,
so
I
am
going
with
it
...
#
if
(
!defined($bootopmode)) {
$
bootopmode
=
""
;
}
print
STDERR
"Bootwhat says: $nodeid => $bootosid,$bootopmode
\n
"
if
($
debug
);
...
...
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