summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-26 23:40:13 +0000
committerasami <asami@FreeBSD.org>2000-09-26 23:40:13 +0000
commit1182ba9d29985209c092da8e11681a3174674d46 (patch)
tree81500f8b2a17bfa5c11a20c1fd84f588f9837699
parentea6e1bb9fc9a76bdd7955f63901e2364f2cc898c (diff)
downloadFreeBSD-ports-1182ba9d29985209c092da8e11681a3174674d46.zip
FreeBSD-ports-1182ba9d29985209c092da8e11681a3174674d46.tar.gz
Add -t and -n flags to ssh. (-t flag suggested by: ps)
This seems to fix a lot of the hang problems to bump up the timeout from 5 hours to 12 hours.
-rwxr-xr-xTools/portbuild/scripts/pdispatch8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/pdispatch b/Tools/portbuild/scripts/pdispatch
index 1bb396d..c642e6f 100755
--- a/Tools/portbuild/scripts/pdispatch
+++ b/Tools/portbuild/scripts/pdispatch
@@ -1,7 +1,7 @@
#!/bin/sh
-# wait 5 hours maximum
-timeout=18000
+# wait 12 hours maximum
+timeout=43200
branch=$1
command=$2
@@ -36,5 +36,5 @@ fi
if [ "x$NODUMMY" != "x" ]; then
flags="${flags} -nodummy"
fi
-echo "dispatching: ssh -a $1 ${command} ${branch} $flags $args"
-${buildroot}/scripts/ptimeout $timeout ssh -a $1 ${command} ${branch} ${flags} $args
+echo "dispatching: ssh -a -t -n $1 ${command} ${branch} $flags $args at $(date)"
+${buildroot}/scripts/ptimeout $timeout ssh -a -t -n $1 ${command} ${branch} ${flags} $args
OpenPOWER on IntegriCloud