fix: send Argus publish script with Unix line endings
This commit is contained in:
@@ -324,7 +324,7 @@ if ($RestartArgus) {
|
||||
$remoteScriptLines += "docker restart argus"
|
||||
}
|
||||
|
||||
$remoteScript = $remoteScriptLines -join [Environment]::NewLine
|
||||
$remoteScript = $remoteScriptLines -join "`n"
|
||||
$tempRemoteScript = New-TemporaryFile
|
||||
try {
|
||||
Set-Content -LiteralPath $tempRemoteScript -Value $remoteScript -Encoding utf8
|
||||
|
||||
Reference in New Issue
Block a user