Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Low: SAPInstance,SAPDatabase: Allow blanks in path of userexit script

  • Loading branch information...
commit ba567a48be5df7e1f0b9c6f4ffdf734403055351 1 parent 4f73334
Alexander Krauth authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  heartbeat/SAPDatabase
  2. +1 −1  heartbeat/SAPInstance
2  heartbeat/SAPDatabase
View
@@ -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"
2  heartbeat/SAPInstance
View
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.