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:
Shawn Neal 2014-08-19 07:30:19 -07:00
commit 0ebb57b888
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ module VagrantPlugins
exit 0 exit 0
} }
} }
Write-Host "should upload file $dest_file_path"
exit 1 exit 1
EOH EOH
@shell.powershell(cmd)[:exitcode] == 1 @shell.powershell(cmd)[:exitcode] == 1