summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 14:46:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 14:46:23 -0300
commitd55569f80013310a97c33dbd2de41f76a6437ced (patch)
tree5ffa4e4bb55451a3b6ff57db2068cf1004cfe7eb
parent1f25194c5ab63ee588fa66f09cf30f5994490455 (diff)
downloadhydra-d55569f80013310a97c33dbd2de41f76a6437ced.tar.gz
hydra-d55569f80013310a97c33dbd2de41f76a6437ced.tar.bz2
Minor fix
-rw-r--r--lib/hydra/backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/backup b/lib/hydra/backup
index 17f7349..252d41a 100644
--- a/lib/hydra/backup
+++ b/lib/hydra/backup
@@ -31,7 +31,7 @@ function hydra_backup_environment {
exit 1
fi
else
- if [ "$METHOD" == "restore" ];
+ if [ "$METHOD" == "restore" ]; then
echo "Invalid backup method 'restore'"
exit 1
elif [ -d "$BACKUPDIR/$METHOD" ]; then