Fixes: a873924e36b28c5b125621e35b32beb6b077bcc8
https://bugzilla.redhat.com/show_bug.cgi?id=
2039652
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
config->log_outputs,
privileged,
verbose,
- godaemon) < 0)
+ godaemon) < 0) {
+ virDispatchError(NULL);
exit(EXIT_FAILURE);
+ }
if (!pid_file &&
virPidFileConstructPath(privileged,
config->log_outputs,
privileged,
verbose,
- godaemon) < 0)
+ godaemon) < 0) {
+ virDispatchError(NULL);
exit(EXIT_FAILURE);
+ }
if (!pid_file &&
virPidFileConstructPath(privileged,
config->log_outputs,
privileged,
verbose,
- godaemon) < 0)
+ godaemon) < 0) {
+ virDispatchError(NULL);
exit(EXIT_FAILURE);
+ }
/* Let's try to initialize global variable that holds the host's boot time. */
if (virHostBootTimeInit() < 0) {