summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian C. Dunn <jdunn@chef.io>2015-02-10 21:09:02 -0500
committerBryan McLellan <btm@chef.io>2015-04-20 15:31:31 -0400
commitc59ec730919f5265b787b26c68e0990deb9359a3 (patch)
tree6246959921f559a9ad1a3cc4db7788a738f8aa05
parentee01ad18fe2c1072c6c07bbb89e1a02a92bdfde2 (diff)
downloadchef-c59ec730919f5265b787b26c68e0990deb9359a3.tar.gz
Gotta do something with that stderr we so carefully captured.
-rw-r--r--lib/chef/knife/bootstrap/templates/chef-full.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/knife/bootstrap/templates/chef-full.erb b/lib/chef/knife/bootstrap/templates/chef-full.erb
index a43c18c05e..9260049ee6 100644
--- a/lib/chef/knife/bootstrap/templates/chef-full.erb
+++ b/lib/chef/knife/bootstrap/templates/chef-full.erb
@@ -175,6 +175,11 @@ do_download() {
fi
echo ">>>>>> wget, curl, fetch, perl or python not found on this instance."
+
+ if test "x$stderr_results" != "x"; then
+ echo "\nDEBUG OUTPUT FOLLOWS:\n$stderr_results"
+ fi
+
return 16
}