Commit 6bd79417 authored by Evan Hunt's avatar Evan Hunt

[master] fixed rndc stop -p

4294.	[bug]		Fixed a regression in which "rndc stop -p" failed
			to print the PID. [RT #41513]
parent 73fbd4c9
4294. [bug] Fixed a regression in which "rndc stop -p" failed
to print the PID. [RT #41513]
4293. [bug] Address memory leak on priming query creation failure.
[RT #41512]
......
......@@ -191,7 +191,7 @@ ns_control_docommand(isccc_sexpr_t *message, isc_boolean_t readonly,
#endif
/* Do not flush master files */
ns_server_flushonshutdown(ns_g_server, ISC_FALSE);
ns_os_shutdownmsg(command, *text);
ns_os_shutdownmsg(cmdline, *text);
isc_app_shutdown();
result = ISC_R_SUCCESS;
} else if (command_compare(command, NS_COMMAND_STOP)) {
......@@ -208,7 +208,7 @@ ns_control_docommand(isccc_sexpr_t *message, isc_boolean_t readonly,
ns_smf_want_disable = 1;
#endif
ns_server_flushonshutdown(ns_g_server, ISC_TRUE);
ns_os_shutdownmsg(command, *text);
ns_os_shutdownmsg(cmdline, *text);
isc_app_shutdown();
result = ISC_R_SUCCESS;
} else if (command_compare(command, NS_COMMAND_DUMPSTATS)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment