summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-gitosis
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/backup-restore-gitosis')
-rwxr-xr-xshare/hydractl/backup-restore-gitosis2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-gitosis b/share/hydractl/backup-restore-gitosis
index f569a8e..f8b9ea3 100755
--- a/share/hydractl/backup-restore-gitosis
+++ b/share/hydractl/backup-restore-gitosis
@@ -12,7 +12,7 @@ DATE="`date +%Y%m%d`"
# Check restore strategy.
if [ "$1" == "localhost" ] || [ "$1" == "`facter hostname`" ]; then
- hydra_backup_environment_local $2 restore
+ hydra_backup_environment_local
else
hydra_backup_environment_remote $1 restore
fi