aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-26 15:14:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-26 15:14:12 +0200
commit80b231b335976ef508b784143da4dda8c8a426ef (patch)
tree1beb2d5842d3047a5f36af8282a37606f571b223
parentRetrying undef (diff)
downloadjoe-scripts-80b231b335976ef508b784143da4dda8c8a426ef.tar.gz
joe-scripts-80b231b335976ef508b784143da4dda8c8a426ef.tar.bz2
joe-scripts-80b231b335976ef508b784143da4dda8c8a426ef.tar.xz
joe-scripts-80b231b335976ef508b784143da4dda8c8a426ef.tar.zst
joe-scripts-80b231b335976ef508b784143da4dda8c8a426ef.zip
Typo
-rwxr-xr-xsrc/gitjoe/adduser.pl2
1 files changed, 1 insertions, 1 deletions
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(