summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-23 15:14:36 +0200
committerErich Eckner <git@eckner.net>2018-04-23 15:14:36 +0200
commit3ba80fbc9c1231c8612ce25798383192c38bbad5 (patch)
treee7e1238a321a9ca8e1e594e810613a6506b921ad
parent317a62223535ecec121c19f7b10c590ee3b2e7a7 (diff)
downloadbuilder-3ba80fbc9c1231c8612ce25798383192c38bbad5.tar.xz
bin/cleanup: do not prune ssh-log
-rwxr-xr-xbin/cleanup4
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/cleanup b/bin/cleanup
index 83bb209..830cb94 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -60,10 +60,6 @@ find "${build_log_directory}/error" -maxdepth 1 -type f -printf '%f\n' | \
done
}
-# only keep last 50 lines of ssh-log
-tail -n50 "${work_dir}/ssh-log" | \
- sponge "${work_dir}/ssh-log"
-
# only keep namcap logs of last 2 weeks for succeeded packages
find "${build_log_directory}/success" -maxdepth 1 -type f -mtime +14 \
-not -exec zgrep -q '^+.*ELF file .* has text relocations' '{}' \; \