SUSE/SAPHanaSR

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

Opened this issue · 0 comments

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=$?