diff --git a/heartbeat/SAPDatabase b/heartbeat/SAPDatabase index eb993d28f2..793fef76af 100755 --- a/heartbeat/SAPDatabase +++ b/heartbeat/SAPDatabase @@ -541,7 +541,7 @@ sapuserexit() { if [ -x "$VALUE" ] then ocf_log info "Calling userexit ${NAME} with customer script file ${VALUE}" - $VALUE >/dev/null 2>&1 + "$VALUE" >/dev/null 2>&1 ocf_log info "Exiting userexit ${NAME} with customer script file ${VALUE}, returncode: $?" else ocf_log warn "Attribute ${NAME} is set to ${VALUE}, but this file is not executable" diff --git a/heartbeat/SAPInstance b/heartbeat/SAPInstance index 3635706474..8cd853716b 100755 --- a/heartbeat/SAPInstance +++ b/heartbeat/SAPInstance @@ -448,7 +448,7 @@ sapuserexit() { if have_binary "$VALUE" then ocf_log info "Calling userexit ${NAME} with customer script file ${VALUE}" - $VALUE >/dev/null 2>&1 + "$VALUE" >/dev/null 2>&1 ocf_log info "Exiting userexit ${NAME} with customer script file ${VALUE}, returncode: $?" else ocf_log warn "Attribute ${NAME} is set to ${VALUE}, but this file is not executable"