summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/mini2
-rwxr-xr-xhooks/minimal2
2 files changed, 2 insertions, 2 deletions
diff --git a/hooks/mini b/hooks/mini
index 4910914..c33186e 100755
--- a/hooks/mini
+++ b/hooks/mini
@@ -40,5 +40,5 @@ mkdir -p /var/lib/apt/lists/partial
# Truncating logs
for FILE in $(find /var/log/ -type f)
do
- cat < /dev/null > $FILE
+ : > ${FILE}
done
diff --git a/hooks/minimal b/hooks/minimal
index 3886d9a..ff57deb 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -32,5 +32,5 @@ mkdir -p /var/lib/apt/lists/partial
# Truncating logs
for FILE in $(find /var/log/ -type f)
do
- cat < /dev/null > $FILE
+ : > ${FILE}
done