[sh] Fix static analysis error

Fixed shellcheck error for updated version in ssh-agent configuration.
This commit is contained in:
Marty Oehme 2020-06-19 16:09:11 +02:00
parent d8b5c067fb
commit 6e75d1b485
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A

View file

@ -132,7 +132,7 @@ find_all_agent_sockets() {
find_live_gnome_keyring_agents find_live_gnome_keyring_agents
find_live_osx_keychain_agents find_live_osx_keychain_agents
_debug_print "$_LIVE_AGENT_LIST" _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=() _LIVE_AGENT_SOCK_LIST=()
_debug_print "SORTED: $_LIVE_AGENT_LIST" _debug_print "SORTED: $_LIVE_AGENT_LIST"
if [[ $_SHOW_IDENTITY -gt 0 ]]; then if [[ $_SHOW_IDENTITY -gt 0 ]]; then