libraries/libvirt: (Really) properly initialize $count in rc.libvirt

This fixes commit e4dec7aaf7

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Andrzej Telszewski 2018-03-15 01:59:46 -05:00 committed by Willy Sudiarto Raharjo
parent 47fcfad833
commit 38dfe92a5a

View file

@ -81,7 +81,7 @@ guests_managedsave() {
echo -n "Waiting for managedsave to finish on all guests..."
count = 0
count=0
while [ $(/usr/sbin/virsh list --name | grep -v ^$ | wc -l) -gt "0" ]; do
if [ "$count" -ge "$TIMEOUT" ];then