This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=6b7badca005c9876033125407a3522831d80a820 The branch, master has been updated via 6b7badca005c9876033125407a3522831d80a820 (commit) from b8f5fd61d0f6ae3f3106b7f9bdb395a8ef24967d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6b7badca005c9876033125407a3522831d80a820 Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Wed Oct 6 11:40:37 2010 +0300 Improve scripting in mu pop shell. * mu/pop.c (com_apop, com_pass): Require password in non-interactive mode. ----------------------------------------------------------------------- Summary of changes: mu/pop.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/mu/pop.c b/mu/pop.c index 86d3e8a..70e5708 100644 --- a/mu/pop.c +++ b/mu/pop.c @@ -308,6 +308,11 @@ com_apop (int argc, char **argv) if (argc == 3) pwd = argv[2]; + else if (!mutool_shell_interactive) + { + mu_error (_("apop: password required")); + return 1; + } else { status = mu_getpass (mustrin, mustrout, "Password:", &passbuf); @@ -474,6 +479,11 @@ com_pass (int argc, char **argv) if (argc == 1) { + if (!mutool_shell_interactive) + { + mu_error (_("pass: password required")); + return 1; + } status = mu_getpass (mustrin, mustrout, "Password:", &passbuf); if (status) return status; hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org http://lists.gnu.org/mailman/listinfo/commit-mailutils