Skip to content
Snippets Groups Projects
Commit d2bc727d authored by Marcel Huber's avatar Marcel Huber
Browse files

* passing waitcount to stopscript when it is not controlled by keepwds.sh

parent 4c4b7e07
Branches
Tags wd_scripts_1_11_1 wd_scripts_1_12
No related merge requests found
......@@ -447,7 +447,7 @@ case "$locCommand" in
WaitOnTermination "${my_keeppid} ${wdpid}" ${cfg_waitcount}
else
if [ $locProcOk -eq 1 ]; then
eval "${stop_script} ${cfg_dbgopt} >/dev/null 2>&1";
eval "${stop_script} ${cfg_dbgopt} -w ${cfg_waitcount} >/dev/null 2>&1";
if [ $? -ne 0 ]; then
# try hardkill to ensure it died
eval "${stop_script} ${cfg_dbgopt} -K >/dev/null 2>&1 || return=$rc_failed";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment