diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 17:59:42 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-06 17:59:42 +0200 |
commit | 394ceed56cdd71cc7cc6199a863f9d10b2ce626f (patch) | |
tree | 06bbad74e8a43c2449577cd44bece52e5a617028 /gitjoe-newuser.pl | |
parent | Better sshekys (diff) | |
download | joe-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 '')
-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 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', |