test_suite: fix uninitialized variable

This commit is contained in:
Frank Liepold 2014-03-14 10:51:15 +01:00 committed by Thomas Schoebel-Theuer
parent 63d5fc6d57
commit d4b983f120

View File

@ -84,6 +84,7 @@ function lib_rw_stop_one_script
{
local host=$1 script=$2 varname_write_count=$3
local my_write_count grep_out rc
eval $varname_write_count=0 # robustness
lib_vmsg " determine pid of script $script on $host"
pid=$(lib_remote_idfile $host pgrep -f $script)
rc=$?