diff options
author | Stefan Kangas <skangas@skangas.se> | 2011-03-14 15:17:13 +0100 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2011-03-14 15:17:13 +0100 |
commit | 5d3d384a5bf1e08951ed37ec5111314c1cce82dc (patch) | |
tree | 0251e71e31a25eff66431c81c84dc6127558d04d /fripost-adduser | |
parent | 6238a0b2d98b59a99c5eab89b15d5686ba6858f3 (diff) |
Better name: confirm_or_abort
Diffstat (limited to 'fripost-adduser')
-rwxr-xr-x | fripost-adduser | 4 |
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? "); |