diff options
author | Andrew Cady <d@jerkface.net> | 2023-08-26 11:17:13 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2023-08-26 11:17:13 -0400 |
commit | d48d4672067330ab4c74c6200779fcee81ec0e6d (patch) | |
tree | 357cde839eb6cd72169607ab11ccc56fc6b96ca7 /src | |
parent | ec2de21250e26af3e1315fac72488eda2b32c33c (diff) |
use common ssh function
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc.bash | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rpc.bash b/src/rpc.bash index cceadec..ea72b3d 100644 --- a/src/rpc.bash +++ b/src/rpc.bash | |||
@@ -136,7 +136,9 @@ remote_run_function_tty() | |||
136 | TERM=screen | 136 | TERM=screen |
137 | source <(printf '%s' "$rpc") | 137 | source <(printf '%s' "$rpc") |
138 | END | 138 | END |
139 | exec ssh localhost -t -- bash -c "${REPLY@Q}" bash "$@" | 139 | bash_rpc_with_ssh_option -t \ |
140 | bash_rpc_remote_run_script \ | ||
141 | "$REPLY" "$@" | ||
140 | ) | 142 | ) |
141 | } | 143 | } |
142 | 144 | ||