Skip to content

Commit

Permalink
Low: SAPInstance,SAPDatabase: Allow blanks in path of userexit script
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Krauth committed Jan 24, 2011
1 parent 4f73334 commit ba567a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion heartbeat/SAPDatabase
Expand Up @@ -541,7 +541,7 @@ sapuserexit() {
if [ -x "$VALUE" ] if [ -x "$VALUE" ]
then then
ocf_log info "Calling userexit ${NAME} with customer script file ${VALUE}" 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: $?" ocf_log info "Exiting userexit ${NAME} with customer script file ${VALUE}, returncode: $?"
else else
ocf_log warn "Attribute ${NAME} is set to ${VALUE}, but this file is not executable" ocf_log warn "Attribute ${NAME} is set to ${VALUE}, but this file is not executable"
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/SAPInstance
Expand Up @@ -448,7 +448,7 @@ sapuserexit() {
if have_binary "$VALUE" if have_binary "$VALUE"
then then
ocf_log info "Calling userexit ${NAME} with customer script file ${VALUE}" 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: $?" ocf_log info "Exiting userexit ${NAME} with customer script file ${VALUE}, returncode: $?"
else else
ocf_log warn "Attribute ${NAME} is set to ${VALUE}, but this file is not executable" ocf_log warn "Attribute ${NAME} is set to ${VALUE}, but this file is not executable"
Expand Down

0 comments on commit ba567a4

Please sign in to comment.