summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/hooks/stripped.chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hooks/stripped.chroot b/examples/hooks/stripped.chroot
index 7af719e77..9ebe5bc12 100755
--- a/examples/hooks/stripped.chroot
+++ b/examples/hooks/stripped.chroot
@@ -31,7 +31,7 @@ done
apt-get autoremove --yes || true
# Removing unused files
-find . -name *~ | xargs rm -f
+find . -name *~ -print0 | xargs -0 rm -f
rm -rf /usr/include/*
#rm -rf /usr/share/groff/*