smart_proxy_remote_execution_ssh 0.11.3 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab09d3de425de64ea7c79bdd7a94463bb09a4ca3f6bcf27bee3d67ce2c63c1db
|
|
4
|
+
data.tar.gz: 97b54ed101559c83922001297fa75bcedf8610c78f84eb8ee573db7371ab0246
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0dbe4a0210cd06d39a31f20d277d8f28ab59afb0efe72685394a810fa7ba723a1aeacdd5b6f62d43b16dd5a3f83c71b8cd852e5661c6610fa5a2204dfd3389e1
|
|
7
|
+
data.tar.gz: 7b17fc3f18a0b90d0a4e817df930985b8a80c2c40e94c3b5b1c01318bc84e1f1a9ac8a749ef5aad4d78fe38a0aaa34422eb1167a3e18aca1b078655add605ea6
|
|
@@ -191,6 +191,11 @@ module Proxy::RemoteExecution::Ssh::Runners
|
|
|
191
191
|
#{@user_method.cli_command_prefix}#{su_method ? "'exec #{@remote_script} < /dev/null '" : "#{@remote_script} < /dev/null"}
|
|
192
192
|
echo \$? >#{@exit_code_path}
|
|
193
193
|
) | tee #{@output_path}
|
|
194
|
+
if [ -f #{@exit_code_path} ] && [ $(wc -l < #{@exit_code_path}) -gt 0 ]; then
|
|
195
|
+
exit $(cat #{@exit_code_path})
|
|
196
|
+
else
|
|
197
|
+
exit 1
|
|
198
|
+
fi
|
|
194
199
|
else
|
|
195
200
|
UNSHARE=''
|
|
196
201
|
if #{UNSHARE_PREFIX} true >/dev/null 2>/dev/null; then
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_proxy_remote_execution_ssh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nečas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|