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
8004312d
Commit
8004312d
authored
Oct 17, 2013
by
Leigh B Stoller
Browse files
Minor bug fix.
parent
cb846cea
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniUser.pm.in
View file @
8004312d
...
...
@@ -371,7 +371,7 @@ sub Create($$$$;$$)
return
undef
if
(
!defined($hash));
$
hash
=
substr
($
hash
,
0
,
7
);
if
(
!$hash || GeniUser->ValidUserID("u${hash}")) {
if
(
!$hash ||
!
GeniUser->ValidUserID("u${hash}")) {
print
STDERR
"Cannot form a uid from certificate
\n
"
.
$
certificate
->
cert
()
.
"
\n
"
;
return
undef
;
...
...
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