From 6e75d1b4856b8c8d3eb4273a378137833b46e59c Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 19 Jun 2020 16:09:11 +0200 Subject: [PATCH] [sh] Fix static analysis error Fixed shellcheck error for updated version in ssh-agent configuration. --- sh/.config/sh/alias.d/ssh-agent-autoconfiguration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/.config/sh/alias.d/ssh-agent-autoconfiguration.sh b/sh/.config/sh/alias.d/ssh-agent-autoconfiguration.sh index ed271b5..16e2921 100644 --- a/sh/.config/sh/alias.d/ssh-agent-autoconfiguration.sh +++ b/sh/.config/sh/alias.d/ssh-agent-autoconfiguration.sh @@ -132,7 +132,7 @@ find_all_agent_sockets() { find_live_gnome_keyring_agents find_live_osx_keychain_agents _debug_print "$_LIVE_AGENT_LIST" - _LIVE_AGENT_LIST=$(echo $_LIVE_AGENT_LIST | tr ' ' '\n' | sort -n -t: -k 2 -k 1 | uniq) + _LIVE_AGENT_LIST=$(echo "$_LIVE_AGENT_LIST" | tr ' ' '\n' | sort -n -t: -k 2 -k 1 | uniq) _LIVE_AGENT_SOCK_LIST=() _debug_print "SORTED: $_LIVE_AGENT_LIST" if [[ $_SHOW_IDENTITY -gt 0 ]]; then