[4.1] 2c4ceea Updated error message in MGT_Child_Cli_Fail

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Wed Oct 12 16:12:05 CEST 2016


commit 2c4ceead04fb14c6bec0d57b6d0aaef876d5ddff
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Tue Oct 11 15:37:38 2016 +0200

    Updated error message in MGT_Child_Cli_Fail
    
    Updated error message in MGT_Child_Cli_Fail to indicate that we
    actually have sent the kill signal to the child process.

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index d8ab431..1154de5 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -607,7 +607,7 @@ MGT_Child_Cli_Fail(void)
 		return;
 	if (kill_child() == 0)
 		MGT_complain(C_ERR, "Child (%jd) not responding to CLI,"
-		    " killing it.", (intmax_t)child_pid);
+		    " killed it.", (intmax_t)child_pid);
 	else
 		MGT_complain(C_ERR, "Failed to kill child with PID %jd: %s",
 		    (intmax_t)child_pid, strerror(errno));



More information about the varnish-commit mailing list