Commit 1408c9bd authored by Ondřej Surý's avatar Ondřej Surý

Remove KNOT_CTL_RESTART constant from the sources

parent 2c7b8abb
......@@ -76,7 +76,6 @@ const error_table_t knot_error_msgs[] = {
/* Control states. */
{ KNOT_CTL_STOP, "Stopping server." },
{ KNOT_CTL_RESTART, "Restarting server." },
/* Network errors. */
{ KNOT_NET_EADDR, "Bad address or host name." },
......
......@@ -95,7 +95,6 @@ enum knot_error {
/* Control states. */
KNOT_CTL_STOP, /*!< Stop requested. */
KNOT_CTL_RESTART, /*!< Restart requested. */
/* Network errors. */
KNOT_NET_EADDR,
......
......@@ -331,8 +331,6 @@ int main(int argc, char **argv)
ret = remote_process(server, conf()->ctl.iface,
remote, buf, buflen);
switch(ret) {
case KNOT_CTL_RESTART:
sig_req_rst = 1; /* Fall through */
case KNOT_CTL_STOP:
sig_req_stop = 1;
break;
......
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