From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3256A13832E for ; Mon, 18 Jul 2016 06:22:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD3B2E0B74; Mon, 18 Jul 2016 06:22:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B455E0B74 for ; Mon, 18 Jul 2016 06:22:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 168E533FEDE for ; Mon, 18 Jul 2016 06:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F8FF244C for ; Mon, 18 Jul 2016 06:22:48 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1468822963.79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c.robbat2@gentoo> Subject: [gentoo-commits] sites/www:master commit in: bin/ X-VCS-Repository: sites/www X-VCS-Files: bin/update-planet.sh X-VCS-Directories: bin/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c X-VCS-Branch: master Date: Mon, 18 Jul 2016 06:22:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5c25db93-1ec7-4051-9f68-9f12889eeea3 X-Archives-Hash: da0f432ace7366b86f2d3b974a6af7ce commit: 79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c Author: Robin H. Johnson gentoo org> AuthorDate: Mon Jul 18 06:22:33 2016 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Jul 18 06:22:43 2016 +0000 URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=79e8bf33 update-planet: wget -T timeout does not fire in some cases. Signed-off-by: Robin H. Johnson gentoo.org> bin/update-planet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update-planet.sh b/bin/update-planet.sh index e15571d..5a410cb 100755 --- a/bin/update-planet.sh +++ b/bin/update-planet.sh @@ -1,6 +1,6 @@ #!/bin/bash echo -n 'Updating Planet information...' -wget -T 60 'http://planet.gentoo.org/rss20.xml' -O _data/planet.xml.tmp 2>/dev/null +timeout 120 wget -T 60 'http://planet.gentoo.org/rss20.xml' -O _data/planet.xml.tmp 2>/dev/null [ $? -eq 0 ] && mv _data/planet.xml.tmp _data/planet.xml echo 'done.'