summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/files/xmlfilter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/vmchooser/files/xmlfilter.sh')
-rwxr-xr-xos-plugins/plugins/vmchooser/files/xmlfilter.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmchooser/files/xmlfilter.sh b/os-plugins/plugins/vmchooser/files/xmlfilter.sh
index 5e47e511..5196992c 100755
--- a/os-plugins/plugins/vmchooser/files/xmlfilter.sh
+++ b/os-plugins/plugins/vmchooser/files/xmlfilter.sh
@@ -38,7 +38,8 @@ for FILE in $1/*.xml; do
if [ $(grep "<active param=.*true.*" ${FILE} | wc -l) -eq 1 ]; then
if [ -n ${vmchooser_env} ]; then
# filter all xmls with pool-param not equal to vmchooser::env
- if [ $(grep "<pools param=\"${vmchooser_env}\"" ${FILE} | wc -l) -eq 1 ]; then
+ if [ $(grep "<pools param=\"${vmchooser_env}\"" ${FILE} | wc -l) -eq 1 ];\
+ then
echo ${FILE};
fi
else