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