Skip to content

Commit d524a5f

Browse files
authored
Merge pull request #1254 from vvidic/apache-false
apache: fix return value for silent_status
2 parents 4f8b61a + e3b9c25 commit d524a5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

heartbeat/apache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ ProcessRunning() {
131131
}
132132
silent_status() {
133133
local pid
134-
local rc=false
134+
local rc=$OCF_ERR_GENERIC
135135
local retries=0
136136

137137
# Set a retry when apache's Graceful restart is applied and the pid file can not be acquired.
@@ -146,7 +146,7 @@ silent_status() {
146146
rc=$?
147147
break
148148
fi
149-
149+
150150
: No pid file
151151
if [ $retries -le 0 ]; then
152152
break

0 commit comments

Comments
 (0)