]> xenbits.xensource.com Git - libvirt.git/commit
libvirt-guests: Remove LISTFILE if it's empty when stopping service
authorOsier Yang <jyang@redhat.com>
Tue, 15 May 2012 08:22:28 +0000 (16:22 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 15 May 2012 08:22:28 +0000 (16:22 +0800)
commitc086af6b9b2296e2ab45e571f0fdfca097f7f127
tree2fe17aa9ab8bab20b7a069ec041c46f5537e0b06
parent10d9038b744a69c8d4bd29c2e8c012a097481586
libvirt-guests: Remove LISTFILE if it's empty when stopping service

$LISTFILE is created even no domain is running, and the empty
$LISTFILE could cause improper service status.

    stopped ,with saved guests

Which is not right, as there is no domain was saved.
tools/libvirt-guests.init.sh