ssh: Fix shell escaping
The previous `sh -c` invocation was incorrect and just happened to work on hosts with a Bourne-compatible shell set as the login shell. Commands in the deploy script were being executed in the login shell.
This commit is contained in:
parent
95ddbcbfd6
commit
d0bba90d04
4 changed files with 16 additions and 6 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -131,6 +131,7 @@ dependencies = [
|
|||
"regex",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"shell-escape",
|
||||
"snafu",
|
||||
"sys-info",
|
||||
"tempfile",
|
||||
|
@ -680,6 +681,12 @@ dependencies = [
|
|||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "shell-escape"
|
||||
version = "0.1.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
|
||||
|
||||
[[package]]
|
||||
name = "signal-hook-registry"
|
||||
version = "1.2.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue