diff options
author | John Keiser <jkeiser@opscode.com> | 2013-04-09 16:34:52 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-06-07 13:12:30 -0700 |
commit | 1499bac9ace26db6db4913958f66e4f7015ec71c (patch) | |
tree | fb6a2b68283d8b14b91e0db38f5f5ae1c65d1fa9 /lib/chef/knife/xargs.rb | |
parent | 0ce86fed091da2abf41353b495ed3703a76b8ad1 (diff) | |
download | chef-1499bac9ace26db6db4913958f66e4f7015ec71c.tar.gz |
Don't print extra newlines in xargs
Diffstat (limited to 'lib/chef/knife/xargs.rb')
-rw-r--r-- | lib/chef/knife/xargs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/xargs.rb b/lib/chef/knife/xargs.rb index d64ee9a169..076544f24c 100644 --- a/lib/chef/knife/xargs.rb +++ b/lib/chef/knife/xargs.rb @@ -214,7 +214,7 @@ class Chef end command_output = `#{command}` command_output = sub_filenames(command_output, tempfiles) - output command_output + stdout.write command_output # Check if the output is different tempfiles.each_pair do |tempfile, file| |