sensu-spawn 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/spawn.rb +2 -2
- data/sensu-spawn.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18b40a89b4f6c6f89848acd88cd2b263df36a8b3
|
4
|
+
data.tar.gz: 7f3495ddd3ef5287e81381bb2bd92f43d5ecd0fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e534ca03d521c9c2b3cd9fab552f1ca13df0f6fb47346b1679c93ae7f93bb654afdc645e78a68dbe7854dc22b2c0de6d2a356099cd5016beaf708dfb6f6c709
|
7
|
+
data.tar.gz: db5a087384ca248144dede44d7da4c01cec3a1c1ec1bb0af385102a7843d2b74a3fe62cc06e96254599c9ac90804bf1690df5678f223e65738af25cc87feb089
|
data/lib/sensu/spawn.rb
CHANGED
@@ -90,10 +90,10 @@ module Sensu
|
|
90
90
|
output = read_until_eof(reader)
|
91
91
|
[output, child.exit_code]
|
92
92
|
rescue ChildProcess::TimeoutError
|
93
|
-
child.stop
|
93
|
+
child.stop rescue nil
|
94
94
|
["Execution timed out", 2]
|
95
95
|
rescue => error
|
96
|
-
child.stop
|
96
|
+
child.stop rescue nil
|
97
97
|
["Unexpected error: #{error}", 3]
|
98
98
|
end
|
99
99
|
end
|
data/sensu-spawn.gemspec
CHANGED