Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
46ab7b48
Commit
46ab7b48
authored
Sep 09, 2013
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add force option.
parent
248593cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
protogeni/scripts/delgeniuser.in
protogeni/scripts/delgeniuser.in
+2
-2
No files found.
protogeni/scripts/delgeniuser.in
View file @
46ab7b48
#!/usr/bin/perl -w
#
# Copyright (c) 2008-201
1
University of Utah and the Flux Group.
# Copyright (c) 2008-201
3
University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
...
...
@@ -109,7 +109,7 @@ if (!defined($geniuser)) {
fatal
("
No such user
");
}
my
@slices
=
GeniSlice
->
LookupByCreator
(
$geniuser
);
if
(
@slices
)
{
if
(
@slices
&&
!
$force
)
{
fatal
("
$geniuser
has active slices. Not deleting.
\n
");
}
$geniuser
->
Delete
()
==
0
...
...
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