summaryrefslogtreecommitdiff
path: root/backup-snapshot
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-11-05 14:52:03 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-11-05 15:12:08 +0000
commit50e4aa30c56108c5a2a2bceadcf4f92c89ff0046 (patch)
tree7756e10de3dd241fc2aaec8470b7e5bd8123289d /backup-snapshot
parent78d14f29b25d2efecc42622cf13e4b4cf51ffd63 (diff)
downloadinfrastructure-50e4aa30c56108c5a2a2bceadcf4f92c89ff0046.tar.gz
backup-snapshot: Fix syntax
The script was failing with: File "/usr/bin/backup-snapshot", line 235 run_rsync_server(mount_path, sender_flag)) ^ SyntaxError: invalid syntax Change-Id: Ifb82f1b8fb296ccbebb3392c348668b673e312c8
Diffstat (limited to 'backup-snapshot')
-rwxr-xr-xbackup-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup-snapshot b/backup-snapshot
index ce9ae88f..30172c22 100755
--- a/backup-snapshot
+++ b/backup-snapshot
@@ -232,7 +232,7 @@ def main():
try:
with mount(snapshot_path) as mount_path:
- run_rsync_server(mount_path, sender_flag))
+ run_rsync_server(mount_path, sender_flag)
status("rsync server process exited with success.")
finally: