aboutsummaryrefslogtreecommitdiff
path: root/lib/subcommands/ssh.bash
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-17 22:56:59 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-17 22:56:59 +0200
commitfba67928920f3b1e6d10123de9a7efae0dac177f (patch)
tree1b94866fde92c24c660f181fd1631f380595b349 /lib/subcommands/ssh.bash
parentfa150b95d3d9d9b3ea51a03e9243d2b4b2a6c761 (diff)
Make shellcheck happy
Diffstat (limited to 'lib/subcommands/ssh.bash')
-rw-r--r--lib/subcommands/ssh.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/subcommands/ssh.bash b/lib/subcommands/ssh.bash
index 0eb4be8..b5712cc 100644
--- a/lib/subcommands/ssh.bash
+++ b/lib/subcommands/ssh.bash
@@ -6,7 +6,9 @@
subcommand()
{
- local ssh="$(config app.ssh)"
+ local ssh
+
+ ssh="$(config "app.ssh")"
if [[ ! -d "$BASHTARD_ETCDIR/hosts.d" ]]
then
@@ -20,7 +22,6 @@ subcommand()
do
local user
local host
- local ip
user="$(config_for "$node" "ssh.user" "root")"