aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:26:00 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:26:00 +0200
commite415ffa12f9ff60803ed094081ba8754a95e51da (patch)
treeb88fe69397d962374e9171bfe138e99b3770b6e9
parentCorrect path (diff)
downloadjoe-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-xgitjoe-newuser.pl2
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',