diff options
author | Steven Murawski <steven.murawski@gmail.com> | 2015-10-21 13:15:11 -0500 |
---|---|---|
committer | Steven Murawski <steven.murawski@gmail.com> | 2015-10-21 13:15:11 -0500 |
commit | a6c2c27021f9290c081e61f9af1a2f19e154f90c (patch) | |
tree | 2ae600e638cadb58f198131bfbe3bdc9299b71ea /lib/chef | |
parent | db2cd5e0732be6182616390d13e582335120d7cb (diff) | |
parent | 4819314b44285cc22a0a09edd3697763531454ec (diff) | |
download | chef-a6c2c27021f9290c081e61f9af1a2f19e154f90c.tar.gz |
Merge pull request #4087 from chef/smurawski/changelog_pr3597
Add CHANGELOG for PR #3597
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/provider/powershell_script.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/provider/powershell_script.rb b/lib/chef/provider/powershell_script.rb index cea9a45dad..e04efb6b42 100644 --- a/lib/chef/provider/powershell_script.rb +++ b/lib/chef/provider/powershell_script.rb @@ -199,6 +199,9 @@ elseif ( $LASTEXITCODE -ne $null -and $LASTEXITCODE -ne 0 ) $exitstatus = $LASTEXITCODE } +# Print STDOUT for the script execution +Write-Output $chefscriptresult + # If this script is launched with -File, the process exit # status of PowerShell.exe will be $exitstatus. If it was # launched with -Command, it will be 0 if $exitstatus was 0, |