diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-08-19 13:58:00 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-08-19 13:58:00 +0200 |
commit | 875df57f2bf02b5944dfab0f5e32507990d1f4bf (patch) | |
tree | c48ff5ffbd316039bdf4fb1455d1f93103b58918 | |
parent | eef187ebcdc72744fdc1af4b6ca4afb804dfda39 (diff) | |
download | bin-875df57f2bf02b5944dfab0f5e32507990d1f4bf.tar.gz bin-875df57f2bf02b5944dfab0f5e32507990d1f4bf.tar.xz |
ch: Only compress logs once
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | ch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ __chrootalias() { __cleanup_logs() { mkdir -p "$1/logs" mv "$1/"*.log "$1/"*.log.* "$1/logs/" - gzip -f "$1/logs/"*.log "$1/logs/"*.log.* + gzip -f "$1/logs/"*.log "$1/logs/"*.log.{1,2,3,4,5,6,7,8,9} } chkill() { |