]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Increased timeout in netcat command.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Mar 2009 09:55:59 +0000 (10:55 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Mar 2009 09:55:59 +0000 (10:55 +0100)
tools/make-compilers

index 8066a0e3eb00c167df50aedb7bfb25e9899e3e2d..8c266bc1540aaca27e2382e3e42678cc34cb6d4c 100755 (executable)
@@ -123,7 +123,7 @@ distcc_test_hosts() {
 
                if ping -c3 -w5 ${ip} &>/dev/null; then
                        if [ -n "$(which nc 2>/dev/null)" ]; then
-                               if (echo | nc -w 5 ${ip} ${port} 2>/dev/null); then
+                               if (echo | nc -w 15 ${ip} ${port} 2>/dev/null); then
                                        echo "${ip}:${port}/${jobs},lzo # ${host}"
                                else
                                        echo "# Host $host ($ip) is reachable but distcc does not respond."