cron: fix xargs warning

This commit is contained in:
Starbeamrainbowlabs 2023-06-26 22:04:59 +01:00
parent 632ca004c6
commit b4b02b4f07
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -13,7 +13,7 @@ export HOME;
user_account="daemon";
# Locate & move the .deb files into place
find "${source}" -type f -name "*.deb" -print0 | xargs -n1 -I{} --null mv "{}" "${destination}";
find "${source}" -type f -name "*.deb" -print0 | xargs -I{} --null mv "{}" "${destination}";
# chown them to the right user account
chown -R "${user_account}:${user_account}" "${destination}";