Update backup.sh

This commit is contained in:
dinger1986 2023-05-11 20:00:49 +01:00 committed by GitHub
parent 1ead8a72ab
commit 7230207853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if [[ $* == *--schedule* ]]; then
if [ ! -d /rmmbackups/monthly ]; then
sudo mkdir /rmmbackups/monthly
fi
sudo chown -R ${USER}:${USER} /rmmbackups
sudo chown ${USER}:${USER} -R /rmmbackups
printf >&2 "${GREEN}Backups setup to run at midnight and rotate.${NC}\n"
exit 0