Merge "Ignore systemctl return code in yum_update.sh"

This commit is contained in:
Jenkins 2017-01-25 20:48:29 +00:00 committed by Gerrit Code Review
commit f81ab70a58

View File

@ -42,7 +42,7 @@ if [[ "$list_updates" == "" ]]; then
exit 0
fi
pacemaker_status=$(systemctl is-active pacemaker)
pacemaker_status=$(systemctl is-active pacemaker || :)
# Fix the redis/rabbit resource start/stop timeouts. See https://bugs.launchpad.net/tripleo/+bug/1633455
# and https://bugs.launchpad.net/tripleo/+bug/1634851