commit: 79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Mon Jul 18 06:22:33 2016 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <robbat2 <AT> 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.'
