Commit dbae115
fix(_known_hosts_real): fix "nounset" error with empty known_hosts
When known_hosts files are found but do not contain any valid hosts,
COMPREPLY is not updated in the loop, which causes the "nounset" error
in the test `((${#COMPREPLY[@]}))` after the loop.
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>1 parent 177cba1 commit dbae115
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
| 1977 | + | |
| 1978 | + | |
1977 | 1979 | | |
1978 | 1980 | | |
1979 | 1981 | | |
| |||
0 commit comments