From 1ba82cb96e11226b0e8a3928907729426428984d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 30 Jun 2021 23:04:53 -0400 Subject: [PATCH] Adjusted curl timeout. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6b9edb4..c2964cc 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -52,7 +52,7 @@ check_news() { # url for news file local newsFile="https://stormgames.wolfe.casa/media/agm.ogg" local newsPath="${configFile%/*.conf}/.news" - local newsTag="$(curl --connect-timeout 3 -sI "$newsFile" | grep 'etag: "' | cut -d '"' -f2)" + local newsTag="$(curl --connect-timeout 15 -sI "$newsFile" | grep 'etag: "' | cut -d '"' -f2)" local newsOldTag="$(cat "$newsPath" 2> /dev/null)" if [[ "$newsTag" != "$newsOldTag" ]]; then dialog --yes-label 'Play' \