diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 17:55:52 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 17:55:52 +0200 |
commit | 99e7509d25fc6c108838f01734f6e6c41527f7d7 (patch) | |
tree | 2657efed68f08e5f6adb33353def1f2c0b6bbc63 /src/gitjoe/addsshkey.pl | |
parent | Fucked up (diff) | |
download | joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.gz joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.bz2 joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.xz joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.zst joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.zip |
More log messages, improved seds
Diffstat (limited to 'src/gitjoe/addsshkey.pl')
-rwxr-xr-x | src/gitjoe/addsshkey.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gitjoe/addsshkey.pl b/src/gitjoe/addsshkey.pl index d7e0477..c25c879 100755 --- a/src/gitjoe/addsshkey.pl +++ b/src/gitjoe/addsshkey.pl @@ -20,6 +20,7 @@ sub main { open(my $fh, '>>:encoding(UTF-8)', $home_dir . '.ssh/authorized_keys'); print $fh "$sshkey\n"; close($fh); + print "Added new ssh key for user " . colored($usr, 'bold green') . ".\n"; exit; } |