Quote path to salt-bin

This commit is contained in:
twangboy 2023-06-13 10:17:42 -06:00 committed by Megan Wilhite
parent 901708cf09
commit d516d17840

View file

@ -331,7 +331,7 @@ if ( Test-Path -path "$root_dir\conf\minion" ) {
# Start the minion
if ( $Start ) {
Write-Host "Starting minion process: " -NoNewline
Start-Process -FilePath "$salt_bin" `
Start-Process -FilePath "`"$salt_bin`"" `
-ArgumentList "-c","`"$root_dir\conf`"" `
-WindowStyle Hidden
# Verify running minion