mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Merge pull request #4356 from StefanScherer/fix_winrm_should_upload_file_problem_4054
fix should_upload_file, write to stdout before exit 1
This commit is contained in:
commit
0ebb57b888
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ module VagrantPlugins
|
|||
exit 0
|
||||
}
|
||||
}
|
||||
Write-Host "should upload file $dest_file_path"
|
||||
exit 1
|
||||
EOH
|
||||
@shell.powershell(cmd)[:exitcode] == 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue