From f0ef46f648d5e223b17adacc61442211ec0ee38b Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Sun, 17 Aug 2014 16:22:35 +0200 Subject: [PATCH] write to stdout before exit 1 --- plugins/communicators/winrm/file_manager.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/communicators/winrm/file_manager.rb b/plugins/communicators/winrm/file_manager.rb index 44065c1a2..71586b811 100644 --- a/plugins/communicators/winrm/file_manager.rb +++ b/plugins/communicators/winrm/file_manager.rb @@ -131,6 +131,7 @@ module VagrantPlugins exit 0 } } + Write-Host "should upload file $dest_file_path" exit 1 EOH @shell.powershell(cmd)[:exitcode] == 1