Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kldunload): remove unused -X option
The option `-X arg` for `compgen` is specified twice, but only the latter takes effect. Also, `-X kernel` excludes the word `kernel` but the latter `-X '!*.ko'` also excludes the word `kernel` because it only leaves the words matches the pattern `*.ko`. Thus, we can just filter the words by `-X '!*.ko'`.
- Loading branch information