Skip to content

Commit 7fcf0c6

Browse files
committed
fix(badblocks): protect against failglob
1 parent 92ccf03 commit 7fcf0c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/badblocks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _comp_cmd_badblocks()
1717

1818
if [[ $cur == -* ]]; then
1919
# Filter out -w (dangerous) and -X (internal use)
20-
COMPREPLY=($(compgen -X -[wX] -W '$(_parse_usage "$1")' -- "$cur"))
20+
COMPREPLY=($(compgen -X '-[wX]' -W '$(_parse_usage "$1")' -- "$cur"))
2121
return
2222
fi
2323

0 commit comments

Comments
 (0)