suppress timeout errors
This commit is contained in:
parent
586f46600a
commit
a9ba8e79d3
4
urchin
4
urchin
|
@ -648,9 +648,9 @@ main() {
|
||||||
|
|
||||||
if test -n "${urchin_timeout}"; then
|
if test -n "${urchin_timeout}"; then
|
||||||
# Choose the timeout command
|
# Choose the timeout command
|
||||||
if timeout -t 0 true; then
|
if timeout -t 0 true 2> /dev/null; then
|
||||||
TIMEOUT="timeout -t ${urchin_timeout}"
|
TIMEOUT="timeout -t ${urchin_timeout}"
|
||||||
elif timeout 0 true; then
|
elif timeout 0 true 2> /dev/null; then
|
||||||
TIMEOUT="timeout ${urchin_timeout}"
|
TIMEOUT="timeout ${urchin_timeout}"
|
||||||
else
|
else
|
||||||
echo I couldn\'t figure out how to use your version of timeout >&2
|
echo I couldn\'t figure out how to use your version of timeout >&2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user