From a4e48209b6b446988f4e5228dfb54ffcec634fc3 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 28 Jan 2020 16:43:43 +0100 Subject: [PATCH] ssh fixes --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f2a4258..ecd6644 100644 --- a/index.js +++ b/index.js @@ -74,7 +74,7 @@ async function updateProxy() { await sshClient.connect(Object.assign({host}, conf.rproxy.auth)); await sshClient.putFiles([files]); if (conf.rproxy.reloadCmd) - await ssh.exec(conf.rproxy.reloadCmd); + await sshClient.exec(conf.rproxy.reloadCmd); await sshClient.dispose(); }