diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 17:26:00 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 17:26:00 +0200 |
commit | e415ffa12f9ff60803ed094081ba8754a95e51da (patch) | |
tree | b88fe69397d962374e9171bfe138e99b3770b6e9 | |
parent | Correct path (diff) | |
download | joe-scripts-e415ffa12f9ff60803ed094081ba8754a95e51da.tar.gz joe-scripts-e415ffa12f9ff60803ed094081ba8754a95e51da.tar.bz2 joe-scripts-e415ffa12f9ff60803ed094081ba8754a95e51da.tar.xz joe-scripts-e415ffa12f9ff60803ed094081ba8754a95e51da.tar.zst joe-scripts-e415ffa12f9ff60803ed094081ba8754a95e51da.zip |
Try
-rwxr-xr-x | gitjoe-newuser.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl index 736338e..0d79891 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', |