Re: [libvirt] [PATCH] tools: fix check_guests_shutdown loop

2018-04-17 Thread Dariusz Gadomski
On Tue, Apr 17, 2018 at 11:15:17AM +0200, Christian Ehrhardt wrote: > The recent fix to libvirt-guests.sh.in works for what it intended to fix > (variable scope) but failed to adapt the loop in check_guests_shutdown > correctly. Due to that it currently might detect all guests as "Failed to > deter

[libvirt] [PATCH] tools: fix check_guests_shutdown loop

2018-04-17 Thread Christian Ehrhardt
The recent fix to libvirt-guests.sh.in works for what it intended to fix (variable scope) but failed to adapt the loop in check_guests_shutdown correctly. Due to that it currently might detect all guests as "Failed to determine state of guest" by bad var content or just assumes they are shut down b