Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
2f361e33
Commit
2f361e33
authored
Oct 13, 2011
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix.
parent
22405760
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tbsetup/libvtop_test.pm.in
tbsetup/libvtop_test.pm.in
+2
-2
No files found.
tbsetup/libvtop_test.pm.in
View file @
2f361e33
...
...
@@ -1239,7 +1239,7 @@ sub LoadVirtNodes($)
if
(
!defined($osinfo)) {
tberror
({
cause
=>
'user'
,
type
=>
'primary'
,
severity
=>
SEV_ERROR
,
error
=>
[
'invalid_os'
,
undef
,
$
osname
,
$
pid
]},
error
=>
[
'invalid_os'
,
undef
,
$
osname
,
$
os
pid
]},
"Invalid OS $osname in project $ospid!"
);
return
-
1
;
}
...
...
@@ -1267,7 +1267,7 @@ sub LoadVirtNodes($)
if
($
parent_osname
=~
/^(.*)\/(.*)$/)
{
$
ospid
=
$
1
;
$
osname
=
$
2
;
$
parent_
osname
=
$
2
;
}
my
$
osinfo
=
OSinfo
->
Lookup
(
"$ospid,$parent_osname"
);
if
(
!defined($osinfo)) {
...
...
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