make_mirror.sh: add --no-run-if-empty to xargs call

pull/1/head
parent a0e2c70eba
commit 1b18b11a86
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -411,5 +411,5 @@ if [ -e $oldcachedir/debian-security/pool/updates/main ]; then
fi
# now the rest should only be empty directories
if [ -e $oldcachedir ]; then
find $oldcachedir -depth -print0 | xargs -0 rmdir
find $oldcachedir -depth -print0 | xargs -0 --no-run-if-empty rmdir
fi

Loading…
Cancel
Save