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
da3e4dee
Commit
da3e4dee
authored
Apr 04, 2012
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug Fix: This has to run as root or it fails. So add a check.
parent
4b9ecabc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
protogeni/scripts/reregister.in
protogeni/scripts/reregister.in
+4
-0
No files found.
protogeni/scripts/reregister.in
View file @
da3e4dee
...
@@ -64,6 +64,10 @@ if (! getopts($optlist, \%options)) {
...
@@ -64,6 +64,10 @@ if (! getopts($optlist, \%options)) {
usage
()
usage
()
if
(
@ARGV
);
if
(
@ARGV
);
if
(
$UID
!=
0
)
{
fatal
("
Must be root to run this script
\n
");
}
#
#
# This file must exist. Should probably be in the DB instead.
# This file must exist. Should probably be in the DB instead.
#
#
...
...
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