From 49dc4d2154f954628c10e8f024f558ff17d38675 Mon Sep 17 00:00:00 2001 From: Lukas Bezdicka Date: Thu, 19 Jan 2017 14:17:25 +0100 Subject: Ignore systemctl return code in yum_update.sh We only need to know if pacemaker service is in active state. Change-Id: Id5e16f2bbbe51b8a0c250eb5d35e89e61a7b3383 Resolves: rhbz#1414779 Closes-Bug: #1656980 --- extraconfig/tasks/yum_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extraconfig') diff --git a/extraconfig/tasks/yum_update.sh b/extraconfig/tasks/yum_update.sh index 74af7b02..edcc9e8e 100755 --- a/extraconfig/tasks/yum_update.sh +++ b/extraconfig/tasks/yum_update.sh @@ -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 -- cgit 1.2.3-korg