From 73b9fc23337046bd39526787bd876934dea1ca37 Mon Sep 17 00:00:00 2001 From: Eric Faurot Date: Tue, 9 Jul 2013 21:33:12 +0200 Subject: change "smtpctl shutdown" back to "smtpctl stop" --- smtpd/smtpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smtpd/smtpctl.c b/smtpd/smtpctl.c index 4aee3ba1..5b83acb0 100644 --- a/smtpd/smtpctl.c +++ b/smtpd/smtpctl.c @@ -696,7 +696,7 @@ do_show_stats(int argc, struct parameter *argv) } static int -do_shutdown(int argc, struct parameter *argv) +do_stop(int argc, struct parameter *argv) { srv_send(IMSG_CTL_SHUTDOWN, NULL, 0); return srv_check_result(); @@ -787,7 +787,7 @@ main(int argc, char **argv) cmd_install("show queue ", do_show_queue); cmd_install("show routes", do_show_routes); cmd_install("show stats", do_show_stats); - cmd_install("shutdown", do_shutdown); + cmd_install("stop", do_stop); cmd_install("trace ", do_trace); cmd_install("unprofile ", do_unprofile); cmd_install("untrace ", do_untrace); -- cgit v1.2.3-59-g8ed1b