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

Be sure to chomp() the sshkey to avoid client side error.

parent 4274d385
...@@ -314,9 +314,9 @@ if (exists($xmlparse->{'attribute'}->{"sshkey"}) && ...@@ -314,9 +314,9 @@ if (exists($xmlparse->{'attribute'}->{"sshkey"}) &&
if (!close(KEYGEN)) { if (!close(KEYGEN)) {
UserError("Could not parse ssh key!"); UserError("Could not parse ssh key!");
} }
chomp($sshkey);
} }
} }
chomp($sshkey);
# #
# See if the GeniUser exists. Create if not, but that means we # See if the GeniUser exists. Create if not, but that means we
......
Supports Markdown
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