aboutsummaryrefslogtreecommitdiffstats
path: root/gitjoe-newuser.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:59:42 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:59:42 +0200
commit394ceed56cdd71cc7cc6199a863f9d10b2ce626f (patch)
tree06bbad74e8a43c2449577cd44bece52e5a617028 /gitjoe-newuser.pl
parentBetter sshekys (diff)
downloadjoe-scripts-394ceed56cdd71cc7cc6199a863f9d10b2ce626f.tar.gz
joe-scripts-394ceed56cdd71cc7cc6199a863f9d10b2ce626f.tar.bz2
joe-scripts-394ceed56cdd71cc7cc6199a863f9d10b2ce626f.tar.xz
joe-scripts-394ceed56cdd71cc7cc6199a863f9d10b2ce626f.tar.zst
joe-scripts-394ceed56cdd71cc7cc6199a863f9d10b2ce626f.zip
Better like this
Diffstat (limited to 'gitjoe-newuser.pl')
-rwxr-xr-xgitjoe-newuser.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl
index c64892d..a141277 100755
--- a/gitjoe-newuser.pl
+++ b/gitjoe-newuser.pl
@@ -16,7 +16,7 @@ sub main {
my $usr = $ARGV[0];
my $pass = $ARGV[1];
my $sshkey = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ";
- $sshkey += $ARGV[2];
+ $sshkey = $sshkey . $ARGV[2];
my $home_dir = '/usr/home/' . $usr . '/';
system(
'/usr/local/bin/dash',