aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-04-17 14:55:49 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-04-17 14:55:49 +0300
commitac4c4c81428dc8183f40b05fab7671ac4e7b2790 (patch)
tree8319675d0e0d5e3bf4977af8cb448e7c830b6f12
parent04ec26ab618d447a4f6d2642db13bdf618e9f400 (diff)
analyse-logs.sh: Warn that running in debug mode leaves tmp files around.
Which in turn likely means running out of disk space. Change-Id: Ib99eb5e2927819cee3abaae8c132b5ec595d48a7
-rwxr-xr-xanalyse-logs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/analyse-logs.sh b/analyse-logs.sh
index 8c0cd88..ba73e6a 100755
--- a/analyse-logs.sh
+++ b/analyse-logs.sh
@@ -651,9 +651,11 @@ keep_resolved_log
# cleanup the extra files and stuff
if [ $DEBUG -eq $FALSE ] ; then
cleanup
- # change back to where we were called from
+else
+ echo "WARNING: Not cleaning up temporary files, beware of running out of disk space."
fi
+# change back to where we were called from
cd $STARTING_LOCATION
# done, out of here