summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2023-08-26 11:17:13 -0400
committerAndrew Cady <d@jerkface.net>2023-08-26 11:17:13 -0400
commitd48d4672067330ab4c74c6200779fcee81ec0e6d (patch)
tree357cde839eb6cd72169607ab11ccc56fc6b96ca7 /src
parentec2de21250e26af3e1315fac72488eda2b32c33c (diff)
use common ssh function
Diffstat (limited to 'src')
-rw-r--r--src/rpc.bash4
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")
138END 138END
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