File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ _comp_cmd_mdadm__raid_level()
4
4
{
5
5
local mode=" "
6
6
7
- local noargopts=' !(-*|*[CB]*)'
7
+ local i noargopts=' !(-*|*[CB]*)'
8
8
for (( i = 1 ; i < cword; i++ )) ; do
9
9
# shellcheck disable=SC2254
10
10
case ${words[i]} in
@@ -33,7 +33,7 @@ _comp_cmd_mdadm__raid_level()
33
33
34
34
_comp_cmd_mdadm__raid_layout ()
35
35
{
36
- local level=" "
36
+ local i level=" "
37
37
for (( i = 1 ; i < cword; i++ )) ; do
38
38
if [[ ${words[i]} == -@ (l| -level) ]]; then
39
39
level=${words[i + 1]}
Original file line number Diff line number Diff line change 2
2
3
3
_comp_cmd_update_alternatives__installed ()
4
4
{
5
- local admindir
5
+ local i admindir
6
6
# find the admin dir
7
7
for i in alternatives dpkg/alternatives rpm/alternatives; do
8
8
[[ -d /var/lib/$i ]] && admindir=/var/lib/$i && break
You can’t perform that action at this time.
0 commit comments