make_mirror.sh: add --no-run-if-empty to xargs call
This commit is contained in:
parent
a0e2c70eba
commit
1b18b11a86
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue