Skip to content
GitLab
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
a350d345
Commit
a350d345
authored
Feb 04, 2015
by
Leigh B Stoller
Browse files
Do not throw a fatal error if no keys. Browser console only.
parent
117b7bca
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/scripts/updategeniuser.in
View file @
a350d345
#!/usr/bin/perl -w
#
# Copyright (c) 2008-201
4
University of Utah and the Flux Group.
# Copyright (c) 2008-201
5
University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
...
...
@@ -262,7 +262,8 @@ sub UpdateSSHKeys()
@keys
=
@
{
$response
->
value
()
->
{
$user_urn
}
};
}
if
(
!
@keys
)
{
fatal
("
No keys returned for user!
");
print
STDERR
"
No keys returned for user!
\n
";
return
0
;
}
my
$filename
=
TBMakeTempFile
("
geniuserkey
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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