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
564d96d5
Commit
564d96d5
authored
Nov 17, 2008
by
Leigh B. Stoller
Browse files
Minor change for protogeni usage.
parent
98b41e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/libadminctrl.pm.in
View file @
564d96d5
#
!/usr/bin/perl -w
#
#
EMULAB
-
COPYRIGHT
#
Copyright
(
c
)
2000
-
200
7
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2000
-
200
8
University
of
Utah
and
the
Flux
Group
.
#
All
rights
reserved
.
#
#
...
...
@@ -1255,7 +1255,7 @@ sub LoadCurrent($$$)
" (expt_swap_uid='$uid' or "
.
" pid='$pid' or gid='$gid')"
);
return
-
1
return
undef
if
(
!$query_result);
while
(
my
($
c_uid
,$
c_pid
,$
c_gid
)
=
$
query_result
->
fetchrow_array
())
{
...
...
@@ -1291,7 +1291,7 @@ sub LoadCurrent($$$)
" r.pid='$pid' and e.gid='$gid') and "
.
" r.pid!='"
.
TBOPSPID
()
.
"' and "
.
" n.role='testnode'"
);
return
-
1
return
undef
if
(
!$query_result);
while
(
my
($
c_uid
,$
c_pid
,$
c_gid
,$
c_type
,$
c_class
)
=
...
...
@@ -1341,7 +1341,7 @@ sub LoadCurrent($$$)
}
}
return
0
;
return
\%
curusage
;
}
#
_Always_
make
sure
that
this
1
is
at
the
end
of
the
file
...
...
...
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