Re: [libvirt] [PATCH] virsh: Remove bogus stat on log file

2014-06-25 Thread Jiri Denemark
On Wed, Jun 25, 2014 at 14:25:27 +0200, Peter Krempa wrote: > On 06/25/14 14:14, Jiri Denemark wrote: > > 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 > > --- > > tools/virsh.c |

Re: [libvirt] [PATCH] virsh: Remove bogus stat on log file

2014-06-25 Thread Peter Krempa
On 06/25/14 14:14, Jiri Denemark wrote: > 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 > --- > tools/virsh.c | 20 > 1 file changed, 20 deletions(-) > ACK, Pete

[libvirt] [PATCH] virsh: Remove bogus stat on log file

2014-06-25 Thread Jiri Denemark
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 --- tools/virsh.c | 20 1 file changed, 20 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 1bac842..3927120 1