mirror of
https://github.com/schoebel/mars
synced 2024-12-16 11:45:10 +00:00
test_suite: fix uninitialized variable
This commit is contained in:
parent
63d5fc6d57
commit
d4b983f120
@ -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=$?
|
||||
|
Loading…
Reference in New Issue
Block a user