Skip to content
Browse files

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

  • Loading branch information...
1 parent 4f73334 commit ba567a48be5df7e1f0b9c6f4ffdf734403055351 Alexander Krauth committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 heartbeat/SAPDatabase
  2. +1 −1 heartbeat/SAPInstance
View
2 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"
View
2 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"

0 comments on commit ba567a4

Please sign in to comment.
Something went wrong with that request. Please try again.