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
2d6d402e
Commit
2d6d402e
authored
Mar 07, 2007
by
Leigh B. Stoller
Browse files
Fix calls to rmgroup.
parent
8fa3a22b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/rmproj.in
View file @
2d6d402e
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
3, 2005, 2006
University of Utah and the Flux Group.
# Copyright (c) 2000-200
7
University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
...
...
@@ -199,7 +199,7 @@ $EUID = $UID;
while
(
my
(
$gid
)
=
$query_result
->
fetchrow_array
())
{
print
"
Removing project group
$gid
...
\n
";
if
(
system
("
$RMGROUP
$pid
$gid
"))
{
if
(
system
("
$RMGROUP
$pid
,
$gid
"))
{
fatal
("
Could not remove subgroup
$gid
in project
$pid
!
");
}
}
...
...
@@ -208,7 +208,7 @@ while (my ($gid) = $query_result->fetchrow_array()) {
# Now remove the main project group.
#
print
"
Removing main project group ...
\n
";
if
(
system
("
$RMGROUP
$pid
$pid
"))
{
if
(
system
("
$RMGROUP
$pid
,
$pid
"))
{
fatal
("
Could not remove main project group
$pid
!
");
}
...
...
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