From 79e8bf3316fe2977a52e6bb8ee9de6d2aaa1583c Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 17 Jul 2016 23:22:33 -0700 Subject: update-planet: wget -T timeout does not fire in some cases. Signed-off-by: Robin H. Johnson --- bin/update-planet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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.' -- cgit v1.2.3-65-gdbad