Update return value documentation to actual behavior

This commit is contained in:
Chris Roberts 2018-01-02 14:03:06 -08:00
parent 98ec1af30e
commit 0dbd8538a0
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ module Vagrant
# Execute a powershell command. # Execute a powershell command.
# #
# @param [String] command PowerShell command to execute. # @param [String] command PowerShell command to execute.
# @return [Subprocess::Result] # @return [nil, String] Returns nil if exit code is non-zero.
# Returns stdout string if exit code is zero.
def self.execute_cmd(command) def self.execute_cmd(command)
validate_install! validate_install!
c = [ c = [