summaryrefslogtreecommitdiffstats
path: root/extras/snap_scheduler/gcron.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/snap_scheduler/gcron.py')
-rwxr-xr-xextras/snap_scheduler/gcron.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/snap_scheduler/gcron.py b/extras/snap_scheduler/gcron.py
index 763eb1460b8..f7e8a4924ed 100755
--- a/extras/snap_scheduler/gcron.py
+++ b/extras/snap_scheduler/gcron.py
@@ -60,7 +60,8 @@ def takeSnap(volname=""):
cli = ["gluster",
"snapshot",
"create",
- "%s-snapshot-%s %s" % (volname, timeStr, volname)]
+ "%s-snapshot-%s" % (volname, timeStr),
+ "%s" % (volname)]
log.debug("Running command '%s'", " ".join(cli))
p = subprocess.Popen(cli, stdout=subprocess.PIPE,