summaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 19:33:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 19:33:32 -0300
commit91a8778ed6e2fc6803116496a3abdc8072307acf (patch)
treeeee075434964ba8b081a1a03a3c80884fbf733ee /share/hydractl
parentd6a5f634e76deca92fb27a31990c5931ca402b22 (diff)
downloadhydra-91a8778ed6e2fc6803116496a3abdc8072307acf.tar.gz
hydra-91a8778ed6e2fc6803116496a3abdc8072307acf.tar.bz2
Minor fix
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/backup-site2
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