aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2020-10-02 00:52:31 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2020-10-02 00:52:31 +0000
commit6955543a8897fd94bf62db1099798f68e323001a (patch)
tree45d4008b96ebb3f8a04c51ac8b5532500934c2ab /contrib
parentc40487d49bde43806672a0917a7ccc5d1e6301fd (diff)
downloadsrc-6955543a8897fd94bf62db1099798f68e323001a.tar.gz
src-6955543a8897fd94bf62db1099798f68e323001a.zip
Notes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/netbsd-tests/fs/h_funcs.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/netbsd-tests/fs/h_funcs.subr b/contrib/netbsd-tests/fs/h_funcs.subr
index dc4403f4aa18..8da43cc95160 100644
--- a/contrib/netbsd-tests/fs/h_funcs.subr
+++ b/contrib/netbsd-tests/fs/h_funcs.subr
@@ -45,7 +45,7 @@ require_fs() {
# Begin FreeBSD
if true; then
- if kldload -n ${name}; then
+ if kldstat -qm ${name} || kldload -n ${name}; then
found=yes
else
found=no