defaults: drop trailing whitespaces

master
Fabio Erculiani 12 years ago
parent 33bbaf3ed6
commit 36d21e9a5f

@ -117,9 +117,9 @@ call_func_timeout()
( ${func} ) & pid=$! ( ${func} ) & pid=$!
( sleep ${timeout} && kill -HUP ${pid} ) 2>/dev/null & watcher=$! ( sleep ${timeout} && kill -HUP ${pid} ) 2>/dev/null & watcher=$!
if wait ${pid} 2>/dev/null; then if wait ${pid} 2>/dev/null; then
kill -HUP $watcher 2> /dev/null kill -HUP $watcher 2> /dev/null
wait $watcher 2>/dev/null wait $watcher 2>/dev/null
return 1 return 1
fi fi
return 0 return 0

Loading…
Cancel
Save