]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Remove bogus stat on log file
authorJiri Denemark <jdenemar@redhat.com>
Tue, 24 Jun 2014 08:50:10 +0000 (10:50 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 25 Jun 2014 22:43:38 +0000 (00:43 +0200)
commita4743860f8d0d638d5ddf0f8d321c93486e155e5
tree6bd730bb9a9ee93d2204de2c826764d12bcd4d09
parentca3d9afeb11c5a55f8e59e7f3d92e80aee0e5f90
virsh: Remove bogus stat on log file

Let's just open the file right away and deal with errors. Moreover,
there's no reason to forbid logging to, e.g., a pipe.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
tools/virsh.c