aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-11 17:30:43 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-11 17:30:43 +0100
commitf6943940ffc36b5d4f8109e3f0ab27bec19a68b1 (patch)
tree601722735543c66798d525fdc8b596f46e6ac888
parent0c75f85002c560ba36c6bcbafb41f2568d0f0434 (diff)
Fix bug
-rwxr-xr-xfripost-adduser2
1 files changed, 1 insertions, 1 deletions
diff --git a/fripost-adduser b/fripost-adduser
index 16f253c..1e3c08c 100755
--- a/fripost-adduser
+++ b/fripost-adduser
@@ -30,7 +30,7 @@ use YAML::Syck;
# Prompt for user info
sub read_user_info {
- $username = prompt_username("New username: ");
+ my $username = prompt_username("New username: ");
my $name = prompt "Full (real) name: ";
my $domain = (split /\@/, $username)[1];
my $maildir = "$domain/". (split /\@/, $username)[0] . "/Maildir/"; # trailing slash important