Merge branch 'gh-issue-2' into pu
This commit is contained in:
commit
5108aedd48
|
@ -415,7 +415,10 @@ for my $pubkey (glob("*"))
|
||||||
unless $user_list{$user};
|
unless $user_list{$user};
|
||||||
$user_list{$user} = 'has pubkey';
|
$user_list{$user} = 'has pubkey';
|
||||||
print $newkeys_fh "command=\"$AUTH_COMMAND $user\",$AUTH_OPTIONS ";
|
print $newkeys_fh "command=\"$AUTH_COMMAND $user\",$AUTH_OPTIONS ";
|
||||||
print $newkeys_fh `cat $pubkey`;
|
# apparently some pubkeys don't end in a newline...
|
||||||
|
my $pubkey_content = `cat $pubkey`;
|
||||||
|
$pubkey_content =~ s/\s*$/\n/;
|
||||||
|
print $newkeys_fh $pubkey_content;
|
||||||
}
|
}
|
||||||
# lint check 3; a little more severe than the first two I guess...
|
# lint check 3; a little more severe than the first two I guess...
|
||||||
for my $user (sort keys %user_list)
|
for my $user (sort keys %user_list)
|
||||||
|
|
Loading…
Reference in a new issue