Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
5259ff49
Commit
5259ff49
authored
Dec 30, 2002
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor addition to last revision; check webonly status as well, since
do not want to do any group stuff for webonly accounts.
parent
a0e09afc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tbsetup/setgroups.in
tbsetup/setgroups.in
+3
-2
No files found.
tbsetup/setgroups.in
View file @
5259ff49
...
...
@@ -243,8 +243,9 @@ foreach my $uid (@userlist) {
# and this is called from the editgroups web page.
#
$query_result
=
DBQueryFatal
("
select status from users where uid='
$uid
'
"
.
"
and status='
"
.
USERSTATUS_ACTIVE
.
"
'
");
DBQueryFatal
("
select status from users
"
.
"
where uid='
$uid
' and webonly=0
"
.
"
and status='
"
.
USERSTATUS_ACTIVE
.
"
'
");
if
(
!
$query_result
->
numrows
)
{
print
"
Skipping
$uid
; not in any groups!
\n
";
...
...
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