Skip to content

Commit 4447f83

Browse files
committed
fix(ssh): work around bash-4.2 nounset
1 parent febb3b3 commit 4447f83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/ssh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ _comp_xfunc_ssh_compgen_query()
2121
_ssh_query()
2222
{
2323
local -a ret=()
24-
_comp_compgen -v ret -i ssh query "${1:-ssh}" "$2"
25-
printf "%s\n" "${ret[@]}"
24+
_comp_compgen -v ret -i ssh query "${1:-ssh}" "$2" &&
25+
printf "%s\n" "${ret[@]}"
2626
}
2727

2828
_comp_cmd_ssh__compgen_query()

0 commit comments

Comments
 (0)