From 5abb1c0625154211ea32aa10524f9db5bda8e3fe Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Wed, 23 Jan 2013 08:37:23 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20corrig=C3=A9:=20argument=20nice=20mal=20d?= =?UTF-8?q?=C3=A9fini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compress_logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compress_logs.sh b/src/compress_logs.sh index ed2fa948..e96226e1 100644 --- a/src/compress_logs.sh +++ b/src/compress_logs.sh @@ -18,5 +18,5 @@ done ALTERNC_LOGS="$ALTERNC_LOC/logs" #Compress logs older than XX days -nice 10 find "$ALTERNC_LOGS" -not -name '*.gz' -mtime +$DAYS -exec gzip '{}' \; +nice -n 10 find "$ALTERNC_LOGS" -not -name '*.gz' -mtime +$DAYS -exec gzip '{}' \;