cron: fix xargs warning
This commit is contained in:
parent
632ca004c6
commit
b4b02b4f07
1 changed files with 1 additions and 1 deletions
2
cron.sh
2
cron.sh
|
@ -13,7 +13,7 @@ export HOME;
|
||||||
user_account="daemon";
|
user_account="daemon";
|
||||||
|
|
||||||
# Locate & move the .deb files into place
|
# 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 them to the right user account
|
||||||
chown -R "${user_account}:${user_account}" "${destination}";
|
chown -R "${user_account}:${user_account}" "${destination}";
|
||||||
|
|
Loading…
Reference in a new issue