summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-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 32c4284..b622d5e 100755
--- a/share/hydractl/backup-site
+++ b/share/hydractl/backup-site
@@ -96,7 +96,7 @@ EOF
fi
# Backup site
-if [ -d "$SITES/$SITE" ]; then
+if [ -d "$LOCATION" ]; then
echo "Backing up site folder..."
tar jcvf $PACK $LOCATION
md5sum $PACK > $PACK.md5