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
|
@ -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 New Issue