mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
fix: revert curl --fail-with-body to --fail
This commit is contained in:
@@ -166,7 +166,7 @@ function Add-AuthorizedKey($UrlOrPath) {
|
||||
|
||||
$TmpKeys = "new_authorized_keys.tmp.txt"
|
||||
|
||||
curl.exe --fail-with-body -sS $UrlOrPath | Out-File -Force "${TmpKeys}.partial"
|
||||
curl.exe -f -sS $UrlOrPath | Out-File -Force "${TmpKeys}.partial"
|
||||
$null = Move-Item -Force "${TmpKeys}.partial" $TmpKeys
|
||||
|
||||
IF ($IsHttp) {
|
||||
|
||||
Reference in New Issue
Block a user