diff options
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/mini | 2 | ||||
-rwxr-xr-x | hooks/minimal | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hooks/mini b/hooks/mini index c074fe71b..dda40bcf5 100755 --- a/hooks/mini +++ b/hooks/mini @@ -38,7 +38,7 @@ rm -rf /var/lib/apt/lists mkdir -p /var/lib/apt/lists/partial # Truncating logs -for FILE in `find /var/log/ -type f` +for FILE in $(find /var/log/ -type f) do cat < /dev/null > $FILE done diff --git a/hooks/minimal b/hooks/minimal index 37e1f7503..3886d9a5f 100755 --- a/hooks/minimal +++ b/hooks/minimal @@ -30,7 +30,7 @@ rm -rf /var/lib/apt/lists mkdir -p /var/lib/apt/lists/partial # Truncating logs -for FILE in `find /var/log/ -type f` +for FILE in $(find /var/log/ -type f) do cat < /dev/null > $FILE done |