From 7230207853cef97591704ed1148d897851dd1152 Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Thu, 11 May 2023 20:00:49 +0100 Subject: [PATCH] Update backup.sh --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 83582e66..29e4d2b5 100755 --- a/backup.sh +++ b/backup.sh @@ -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