increase timeout when reading data from gathering functions
This commit is contained in:
@@ -593,7 +593,7 @@ while :; do
|
|||||||
(( $? == 0 )) || continue
|
(( $? == 0 )) || continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
data=$(timeout 1 cat <&$fd)
|
data=$(timeout 5 cat <&$fd)
|
||||||
rc=$?
|
rc=$?
|
||||||
eval "exec $fd>&-"
|
eval "exec $fd>&-"
|
||||||
fdtable[$func]=-1
|
fdtable[$func]=-1
|
||||||
|
|||||||
Reference in New Issue
Block a user