Wow; I thought we were doing this basically forever. Definitely a good idea.
On Sep 30, 2010, at 4:46 PM, Nigel Kersten wrote: > > Signed-off-by: Nigel Kersten <[email protected]> > --- > lib/puppet/util/suidmanager.rb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/puppet/util/suidmanager.rb b/lib/puppet/util/suidmanager.rb > index 4d2c322..6633de0 100644 > --- a/lib/puppet/util/suidmanager.rb > +++ b/lib/puppet/util/suidmanager.rb > @@ -88,7 +88,7 @@ module Puppet::Util::SUIDManager > module_function :initgroups > > def run_and_capture(command, new_uid=nil, new_gid=nil) > - output = Puppet::Util.execute(command, :failonfail => false, :uid => > new_uid, :gid => new_gid) > + output = Puppet::Util.execute(command, :failonfail => false, :combine => > true, :uid => new_uid, :gid => new_gid) > [output, $CHILD_STATUS.dup] > end > module_function :run_and_capture > -- > 1.7.2.3 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > -- Every generation laughs at the old fashions, but follows religiously the new. -- Henry David Thoreau --------------------------------------------------------------------- Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
