Commit a350d345 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not throw a fatal error if no keys. Browser console only.

parent 117b7bca
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2014 University of Utah and the Flux Group.
# Copyright (c) 2008-2015 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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment