summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Hannah <james.hannah@bytemark.co.uk>2014-07-02 10:59:07 +0100
committerJames Hannah <james.hannah@bytemark.co.uk>2014-07-02 10:59:07 +0100
commit4ce8b13d4e900698e30b797780fe7a971db57df5 (patch)
treecd9d376f6b9ac57c0e24bf90dafb8a75b2744d96
parent22219479aff2cc0c6443ee2581d76d27744f6653 (diff)
Fixed an issue with byteback-snapshot
-rwxr-xr-xbyteback-snapshot2
-rw-r--r--debian/changelog6
2 files changed, 7 insertions, 1 deletions
diff --git a/byteback-snapshot b/byteback-snapshot
index 37fae68..8ea6035 100755
--- a/byteback-snapshot
+++ b/byteback-snapshot
@@ -150,7 +150,7 @@ class BackupDirectory
protected
def system_no_error(*args)
- args += " > /dev/null" unless @verbose
+ args[-1] += " > /dev/null" unless @verbose
raise RuntimeError.new("Command failed: "+args.join(" ")) unless
system(*args)
end
diff --git a/debian/changelog b/debian/changelog
index 206b8fb..28ab08e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+byteback (0.2.4-1) stable; urgency=medium
+
+ * Fixed a bug[?] with byteback-snapshot
+
+ -- James Hannah <james.hannah@bytemark.co.uk> Wed, 02 Jul 2014 10:58:22 +0100
+
byteback (0.2.3-1) stable; urgency=medium
* Added lockfile to stop >1 backup running at once