Skip to content

Commit 9409823

Browse files
committed
fixed condition.
fixed reference to variable.
1 parent fa617d7 commit 9409823

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/vagrant.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ do
8585

8686
echo "[INFO] preparing ${box}..."
8787
vagrant up ${box} 2> /dev/null
88-
if [ ! -z $? ]; then
88+
if [ $? -ne 0 ]; then
8989
# box not enabled
9090
continue
9191
fi

tests/vagrant.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
follow=yes
1919
insertafter=EOF
2020
with_dict: vagrant
21-
when: item.value.enabledixe
21+
when: item.value.enabled
2222
sudo: yes
2323

2424

0 commit comments

Comments
 (0)