From 2913be06aafa06855afcf6be167f1f09759662f2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 26 Jul 2020 15:09:42 +0200 Subject: Fix --- src/gitjoe/adduser.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitjoe/adduser.pl b/src/gitjoe/adduser.pl index e996b58..f1e562d 100755 --- a/src/gitjoe/adduser.pl +++ b/src/gitjoe/adduser.pl @@ -41,7 +41,7 @@ yes no EOF" ); - my (undef, undef, $uid, $gid) = getpwnam($user); + my ($login, $pass, $uid, $gid) = getpwnam($user); mkdir $home_dir . '.ssh/', 0700; chown $uid, $gid, $home_dir . '.ssh/' # system( -- cgit v1.2.3