From e5542ed8bb4ab72a534e6bd659929c822e34727e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 19 Sep 2025 13:21:36 -0700 Subject: [PATCH] Fix typo, --w was not getting recognized. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 2790b0c..d3a145b 100755 --- a/run.sh +++ b/run.sh @@ -103,7 +103,7 @@ find files/photos/ -name "*".html -print -delete log "Sleeping for '$count' while waiting for $photos_uri to come up." sleep $count log "Checking if $photos_uri is available." - http_code="`curl --silent --fail --w '\n%{http_code}' localhost$photos_uri | tail -n 1`" + http_code="`curl --silent --fail -w '\n%{http_code}' localhost$photos_uri | tail -n 1`" log "Check for $photos_uri responded with '$http_code'." if (( $count >= 10 )); then log "Giving up on loading $photos_uri after '$count' attempts."