From 38dfe92a5aece9302ab533d700123c6a3e048d72 Mon Sep 17 00:00:00 2001 From: Andrzej Telszewski Date: Thu, 15 Mar 2018 01:59:46 -0500 Subject: libraries/libvirt: (Really) properly initialize $count in rc.libvirt This fixes commit e4dec7aaf730638a9c85b3999fb3f8cb8d8848eb Signed-off-by: Robby Workman --- libraries/libvirt/rc.libvirt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libvirt/rc.libvirt b/libraries/libvirt/rc.libvirt index 59d953918a..1ca60b5492 100644 --- a/libraries/libvirt/rc.libvirt +++ b/libraries/libvirt/rc.libvirt @@ -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 -- cgit v1.2.3