From a784576544312a49204ef09e1ba92982bf752415 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sat, 7 Feb 2026 20:42:28 +0300 Subject: [PATCH] Use NUL instead of /dev/null for curl fix #821 --- run.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.ps1 b/run.ps1 index f1ba2af..0134cbf 100644 --- a/run.ps1 +++ b/run.ps1 @@ -549,7 +549,7 @@ function downloadSp([string]$DownloadFolder) { try { if ($curl_check) { - $stcode = curl.exe -Is -w "%{http_code} \n" -o /dev/null -k $web_Url --retry 2 --ssl-no-revoke + $stcode = curl.exe -Is -w "%{http_code} \n" -o NUL -k $web_Url --retry 2 --ssl-no-revoke if ($stcode.trim() -ne "200") { Write-Host "Curl error code: $stcode"; throw } @@ -578,7 +578,7 @@ function downloadSp([string]$DownloadFolder) { try { if ($curl_check) { - $stcode = curl.exe -Is -w "%{http_code} \n" -o /dev/null -k $web_Url --retry 2 --ssl-no-revoke + $stcode = curl.exe -Is -w "%{http_code} \n" -o NUL -k $web_Url --retry 2 --ssl-no-revoke if ($stcode.trim() -ne "200") { Write-Host "Curl error code: $stcode"; throw }