summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-04 18:58:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-04 18:58:42 -0200
commit89efc71c66b1da224a0163f5bf7fd9a06eac1989 (patch)
tree1b77b676a411657b938244568ba7b5c298b06b4e /share/hydractl/backup-restore-site
parent8473f166cc59c3ec3c1db16459cf6b8cfc67fbb5 (diff)
downloadhydra-89efc71c66b1da224a0163f5bf7fd9a06eac1989.tar.gz
hydra-89efc71c66b1da224a0163f5bf7fd9a06eac1989.tar.bz2
Syntax fixes
Diffstat (limited to 'share/hydractl/backup-restore-site')
-rwxr-xr-xshare/hydractl/backup-restore-site8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site
index 8f10225..55fec8e 100755
--- a/share/hydractl/backup-restore-site
+++ b/share/hydractl/backup-restore-site
@@ -30,16 +30,16 @@ fi
# Set site user.
if hydra_check_user $SITE; then
- $SITE_USER="$SITE"
+ SITE_USER="$SITE"
else
- $SITE_USER="root"
+ SITE_USER="root"
fi
# Set site group.
if hydra_check_group $SITE; then
- $SITE_GROUP="$SITE"
+ SITE_GROUP="$SITE"
else
- $SITE_GROUP="root"
+ SITE_GROUP="root"
fi
# Check if folder exist on the backup.