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-devel
Commits
c838e5e5
Commit
c838e5e5
authored
Jan 27, 2005
by
Leigh B. Stoller
Browse files
Add check of sitevar 'swap/use_admission_control', return a pass if
admission control is turned off.
parent
ee9937d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/libadminctrl.pm.in
View file @
c838e5e5
...
...
@@ -1052,6 +1052,12 @@ sub TBAdmissionControlCheck($$$$)
if
(
defined
($
ptypearray
));
$
uid
=
MapNumericUID
($
uid
);
#
#
Check
to
see
if
admin
control
is
even
on
.
#
return
1
if
(
! TBGetSiteVar("swap/use_admission_control"));
#
#
Admin
people
do
not
get
checks
(
when
in
admin
mode
of
course
).
...
...
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