aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(