snapshot_archive 0.23.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snapshot_archive/shell.rb +2 -2
- data/lib/snapshot_archive/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3540549c3bf29dc56aa3c7c8455e00233cb0fbb6c41dcc6520501059641b789
|
4
|
+
data.tar.gz: d0fb23ec4ff95d45c3e7dedba14f17de9311ca837434264bd2bf34619dceb14b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1279db3293e46d6e798f2229e69cf7af42f212b250a6910ea20f0b4706a58ebec75afa1c7e2b57e0b921b5f32d6fa37648ffe341dc2d042872313798ff8095
|
7
|
+
data.tar.gz: 1d2e8638e15b9d46352e74c4b9d9da92d30f28cbf4e5fb391b70eaa0c03866846da2722955dd3def39cd56d7fc00f4004e5f1c0a512079a4ee4328ea417298b8
|
@@ -16,9 +16,9 @@ module SnapshotArchive
|
|
16
16
|
def run(cmd)
|
17
17
|
debug(cmd)
|
18
18
|
|
19
|
-
`#{cmd}`
|
19
|
+
`#{cmd} 2>&1`
|
20
20
|
.split("\n")
|
21
|
-
.tap { raise CommandFailureError.new(cmd) unless $? == 0 }
|
21
|
+
.tap { raise CommandFailureError.new([cmd, _1].join("\n---\n")) unless $? == 0 }
|
22
22
|
end
|
23
23
|
|
24
24
|
def warn(msg)
|