Skip to content

ra/SAPHanaRA* - HANA_CALL inner (cmd) / outer (pre_cmd) timeouts are equal  #132

@PeterPitterling

Description

@PeterPitterling

2cc0fba introduced an inner timeout call for the command to be executed
The timeout values for "pre_cmd" and "cmd" calls are the same from this commit on. The outer timeout will always "win" ...

SAPHanaSR/ra/SAPHana

Lines 680 to 682 in 45cc6ec

output=$(timeout --foreground -s 9 "$timeOut" $pre_cmd "($pre_script; timeout -s 9 $timeOut $cmd > $cmd_out_log) >& $cmd_err_log" 2>"$su_err_log"); rc=$?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions