[libvirt] [PATCH] libvirt-guests: Remove LISTFILE if it's empty when stopping service

2012-05-14 Thread Osier Yang
$LISTFILE is created even no domain is running, and the empty $LISTFILE could cause improper service status. stoped ,with saved guests Which is not right, as there is no domain was saved. --- tools/libvirt-guests.init.sh | 42 +++--- 1 files changed, 23

Re: [libvirt] [PATCH] libvirt-guests: Remove LISTFILE if it's empty when stopping service

2012-05-14 Thread Eric Blake
On 05/14/2012 01:21 AM, Osier Yang wrote: $LISTFILE is created even no domain is running, and the empty $LISTFILE could cause improper service status. stoped ,with saved guests Do we really say stoped, or is that a typo in the commit message? Which is not right, as there is no domain

Re: [libvirt] [PATCH] libvirt-guests: Remove LISTFILE if it's empty when stopping service

2012-05-14 Thread Osier Yang
On 2012年05月15日 00:13, Eric Blake wrote: On 05/14/2012 01:21 AM, Osier Yang wrote: $LISTFILE is created even no domain is running, and the empty $LISTFILE could cause improper service status. stoped ,with saved guests Do we really say stoped, or is that a typo in the commit message?