diff options
-rwxr-xr-x | share/hydractl/backup-site | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-site b/share/hydractl/backup-site index ec6855f..856e695 100755 --- a/share/hydractl/backup-site +++ b/share/hydractl/backup-site @@ -29,7 +29,7 @@ fi # Access setup if [ ! -e "$SITES/backups/site/$SITE/.htaccess" ]; then - echo > $SITES/backups/site/$SITE/.htaccess <<EOF + cat > $SITES/backups/site/$SITE/.htaccess <<-EOF AuthType Basic AuthName "Backup $SITE" AuthUserFile $SITES/backups/site/$SITE/.htpasswd |