aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-30 09:23:34 +0000
committerGerrit Code Review <review@openstack.org>2016-08-30 09:23:34 +0000
commitf5bb29aafbbaa560a6d61ceb44971b24af0eb1dc (patch)
treedf6dfc940afc5223f9b4c888e63fcb2bdd723a71 /extraconfig
parentf9000048e5d120e5a47eaad44318f8b884b5ba7d (diff)
parenta6962e751f23598dd8a637965a8b55793a3dc3c0 (diff)
Merge "Fix check of rpm-python."
Diffstat (limited to 'extraconfig')
-rwxr-xr-xextraconfig/tasks/major_upgrade_controller_pacemaker_1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh b/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh
index 2ee473ce..bc115ef7 100755
--- a/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh
+++ b/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh
@@ -18,7 +18,7 @@ STONITH_STATE=$(pcs property show stonith-enabled | grep "stonith-enabled" | awk
pcs property set stonith-enabled=false
# If for some reason rpm-python are missing we want to error out early enough
-if [ ! rpm -q rpm-python &> /dev/null ]; then
+if ! rpm -q rpm-python &> /dev/null; then
echo_error "ERROR: upgrade cannot start without rpm-python installed"
exit 1
fi