提交 88e3e8be 编写于 作者: D Daniel P. Berrange

Improve diagnostics when pidfile writing fails

* src/util.c: Include path & pid when logging pidfile failure
上级 5d3e02aa
......@@ -541,7 +541,8 @@ __virExec(virConnectPtr conn,
usleep(500*1000);
kill(pid, SIGTERM);
virReportSystemError(conn, errno,
"%s", _("could not write pidfile"));
_("could not write pidfile %s for %d"),
pidfile, pid);
_exit(1);
}
_exit(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册