summaryrefslogtreecommitdiff
path: root/libraries/libvirt
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2018-03-15 01:59:46 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:58 +0700
commit38dfe92a5aece9302ab533d700123c6a3e048d72 (patch)
treea22fb17c950ae556b3478ebfe3372f8f04f6dcee /libraries/libvirt
parent47fcfad8332c6269a5862fdfd1a2a35c378ba45d (diff)
downloadslackbuilds-38dfe92a5aece9302ab533d700123c6a3e048d72.tar.gz
libraries/libvirt: (Really) properly initialize $count in rc.libvirt
This fixes commit e4dec7aaf730638a9c85b3999fb3f8cb8d8848eb Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libvirt')
-rw-r--r--libraries/libvirt/rc.libvirt2
1 files changed, 1 insertions, 1 deletions
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