summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_chroot_hacks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index c635909f6..2c971111b 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -78,7 +78,7 @@ fi
# protect GPG keys, which live-helper does not support.
# Note: Use find rather than chmod on the wildcard, one never knows what
# people might do in local hooks, and there might be no initrds at all.
-find chroot/boot -name 'initrd*' -print0 | xargs -0 chmod go+r
+find chroot/boot -name 'initrd*' -print0 | xargs -r -0 chmod go+r
# Remove build systems clock drift
echo "0.0 0 0.0" > chroot/etc/adjtime