aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/adduser.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitjoe/adduser.pl')
-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 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(