ssh-authkeys: remove needless map
someone reported an error on "my $_" (presumably old perl) but I now realise the whole map is useless; both the lists concerned have already been chomped.
This commit is contained in:
parent
276900edbb
commit
5e11d104c7
|
@ -48,7 +48,7 @@ for my $f (@pubkeys) {
|
|||
|
||||
# dump it out
|
||||
if (@gl_keys) {
|
||||
my $out = join( "\n", map { my $_ = $_; chomp($_); $_ } @non_gl, "# gitolite start", @gl_keys, "# gitolite end" ) . "\n";
|
||||
my $out = join( "\n", @non_gl, "# gitolite start", @gl_keys, "# gitolite end" ) . "\n";
|
||||
|
||||
my $ak = slurp($akfile);
|
||||
_die "$akfile changed between start and end of this program!" if $ak ne $old_ak;
|
||||
|
|
Loading…
Reference in a new issue