aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Faurot <eric@faurot.net>2013-07-09 21:33:12 +0200
committerEric Faurot <eric@faurot.net>2013-07-09 21:33:12 +0200
commit73b9fc23337046bd39526787bd876934dea1ca37 (patch)
treefbbbfe483d8c8984c4e42718a6ba473fae16e4cc
parentGet rid of env->sc_pw and env->sc_pwqueue. Each process explicitly (diff)
downloadOpenSMTPD-73b9fc23337046bd39526787bd876934dea1ca37.tar.xz
OpenSMTPD-73b9fc23337046bd39526787bd876934dea1ca37.zip
change "smtpctl shutdown" back to "smtpctl stop"
-rw-r--r--smtpd/smtpctl.c4
1 files 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 <msgid>", 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 <str>", do_trace);
cmd_install("unprofile <str>", do_unprofile);
cmd_install("untrace <str>", do_untrace);