aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-adduser
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-14 15:17:13 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-14 15:17:13 +0100
commit5d3d384a5bf1e08951ed37ec5111314c1cce82dc (patch)
tree0251e71e31a25eff66431c81c84dc6127558d04d /fripost-adduser
parent6238a0b2d98b59a99c5eab89b15d5686ba6858f3 (diff)
Better name: confirm_or_abort
Diffstat (limited to 'fripost-adduser')
-rwxr-xr-xfripost-adduser4
1 files changed, 2 insertions, 2 deletions
diff --git a/fripost-adduser b/fripost-adduser
index 5153a18..c8bfc84 100755
--- a/fripost-adduser
+++ b/fripost-adduser
@@ -59,7 +59,7 @@ my $user;
say "Name: $user->{name}";
say "Password: (hidden)";
- ask_if_ok_or_abort();
+ confirm_or_abort();
}
die "User already exists"
@@ -93,7 +93,7 @@ say "Sent welcome message: ";
say $msg->as_string;
#say decode_qp($msg->as_string);
-ask_if_ok_or_abort("Send email with login information? ");
+confirm_or_abort("Send email with login information? ");
prompt_email("Where should the email be sent? ");