Skip to content

Commit 41961be

Browse files
authored
Merge pull request #1154 from OndrejHome/sapinstance-2018-05-1
SAPInstance improvements 2018/05 (1/4) - move logging in abnormal_end()
2 parents 5621950 + 1b25f50 commit 41961be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heartbeat/SAPInstance

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,13 @@ abnormal_end() {
296296
exit $?
297297
}
298298

299+
ocf_log err $err_msg
299300
if [ "$ACTION" = "stop" ]
300301
then
301302
cleanup_instance
302303
exit $OCF_SUCCESS
303304
fi
304305

305-
ocf_log err $err_msg
306306
exit $OCF_ERR_CONFIGURED
307307
}
308308

0 commit comments

Comments
 (0)