]> xenbits.xensource.com Git - libvirt.git/commit
logging: Don't check the output of virGetUserRuntimeDirectory()
authorFabiano Fidêncio <fidencio@redhat.com>
Thu, 19 Dec 2019 09:29:28 +0000 (10:29 +0100)
committerFabiano Fidêncio <fidencio@redhat.com>
Fri, 20 Dec 2019 08:38:43 +0000 (09:38 +0100)
commitf500e21e411d401719e60e6d3c665773a4866919
tree3a2e815cd5c26dcb5f1bafdf847f698de3e0bcd2
parent0753ddb48ac25f6f62ad495554faf61f865f69e0
logging: Don't check the output of virGetUserRuntimeDirectory()

virGetUserRuntimeDirectory() *never* *ever* returns NULL, making the
checks for it completely unnecessary.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/logging/log_daemon.c
src/logging/log_manager.c