summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 18:10:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 18:10:18 -0300
commit0710f3b6dc77e465e2dc7014d754f9d0cc804dcb (patch)
tree114327571f3555120372fd7b57f0fbc1501765a8 /share/hydractl/backup-site
parent448ce0f41528e1c80d00bae0bbfeb2c888d7473d (diff)
downloadhydra-0710f3b6dc77e465e2dc7014d754f9d0cc804dcb.tar.gz
hydra-0710f3b6dc77e465e2dc7014d754f9d0cc804dcb.tar.bz2
Minor fix
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