commit 9b488a436dcdba49bd3b5e5365eb9ac44719d308
Author: Andrew Beekhof <andrew@beekhof.net>
Date: Wed Sep 4 14:46:23 2013 +1000
Fix: crm_report: Do not print garbage when collecting from the local node
(cherry picked from commit 2c78ded0c66dc2f113ed1620efeaef51fdb489e5)
diff --git a/tools/report.collector b/tools/report.collector
index 1667364..62cbe8b 100644
--- a/tools/report.collector
+++ b/tools/report.collector
@@ -748,8 +748,6 @@ done
if [ -e $REPORT_HOME/.env ]; then
debug "Localhost: $REPORT_MASTER $REPORT_TARGET"
- # Need to send something back or tar on the caller will complain
- (cd $REPORT_HOME && tar cf - .env)
elif [ "$REPORT_MASTER" != "$REPORT_TARGET" ]; then
debug "Streaming report back to $REPORT_MASTER"