From 80b231b335976ef508b784143da4dda8c8a426ef Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 26 Jul 2020 15:14:12 +0200 Subject: Typo --- 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 eb4129f..92a3ed5 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 (undef, undef, $uid, $gid) = getpwnam($usr); mkdir $home_dir . '.ssh/', 0700; chown $uid, $gid, $home_dir . '.ssh/'; # system( -- cgit v1.2.3