Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
519f1c3bae |
+5
-1
@@ -186,4 +186,8 @@ const hostIndex = Number(await tuiMenu());
|
||||
const cmd = buildSSHCommnand(config.hosts[hostIndex]);
|
||||
console.log(cmd.join(" "));
|
||||
|
||||
await $`${cmd}`;
|
||||
try {
|
||||
await $`${cmd}`;
|
||||
} catch (error) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user