From 3d166772f80be08b8d1aeb7cd48078fbee9b7e84 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Jul 2020 17:46:36 +0200 Subject: Trying the newrepo script --- gitjoe-newuser.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitjoe-newuser.pl') diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl index dfc7ad7..bd3c8ca 100755 --- a/gitjoe-newuser.pl +++ b/gitjoe-newuser.pl @@ -56,7 +56,7 @@ EOF" '/bin/chmod -v 700 ' . $home_dir . '.ssh/' ); open(my $fh, '>:encoding(UTF-8)', $home_dir . '.ssh/authorized_keys'); - print $fh "$sshkey\n"; + print $fh $sshkey . "\n"; close($fh); system( '/usr/local/bin/dash', -- cgit v1.2.3