Fixed typo causing bug in openstack-hosts-setup

The '$' at the end of the dpkg-query command causes it to return 2,
which means python won't be installed even though it should be.

Change-Id: I3937448a419a1f2d6405952e1cd7a4002b8d09af
This commit is contained in:
Adrien Cunin 2017-02-09 13:16:40 +01:00
parent 59b34958b7
commit 56f72ac3d3

View File

@ -36,7 +36,7 @@
exit $result;
;;
ubuntu)
dpkg-query -s python $> /dev/null
dpkg-query -s python &> /dev/null
result=$?
if [ $result -eq 1 ]; then