commit 3de41452c059cb44028433bea1ab6425e239a38c Author: Andrew Beekhof Date: Wed Dec 18 08:12:29 2013 +1100 Fix: crm_report: Suppress logging errors after the target directory has been compressed (cherry picked from commit 571c7b0e66b174442604883fe105dbe8d10f1bc4) diff --git a/tools/report.common.in b/tools/report.common.in index 9742f1c..bba7c63 100644 --- a/tools/report.common.in +++ b/tools/report.common.in @@ -76,7 +76,7 @@ record() { if [ x != x"$REPORT_HOME" -a -d "${REPORT_HOME}/$shorthost" ]; then rec="${REPORT_HOME}/$shorthost/report.out" - elif [ x != x"${l_base}" ]; then + elif [ x != x"${l_base}" -a -d "${l_base}" ]; then rec="${l_base}/report.summary" else