summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhooks/minimal2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/minimal b/hooks/minimal
index 7121904db..ff02ddc37 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -21,7 +21,7 @@ done
apt-get autoremove --yes || true
# Removing unused files
-find . -name *~ | xargs rm -f
+find . -name *~ -print0 | xargs -0 rm -f
rm -rf /var/cache/man/*