Forgot to change Puppet::Util::SUIDManager#run_and_capture arguments to execute
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2387 980ebf18-57e1-0310-9a29-db15c13687c0
This commit is contained in:
Родитель
efe9a833c4
Коммит
b8b14d3527
|
@ -64,7 +64,7 @@ module Puppet::Util::SUIDManager
|
|||
def run_and_capture(command, new_uid=nil, new_gid=nil)
|
||||
output = nil
|
||||
|
||||
output = Puppet::Util.execute(command, false, new_uid, new_gid)
|
||||
output = Puppet::Util.execute(command, :failonfail => false, :uid => new_uid, :gid => new_gid)
|
||||
|
||||
[output, $?.dup]
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче