Skip to content

Commit 0298896

Browse files
committed
fix dkms status invocation
and do not query unrelated modules
1 parent 0eb2092 commit 0298896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ dkms_check() {
614614
echo Yes.
615615
DKMSINSTALL=dinstall
616616
test "$FROMDKMSCONF" && return
617-
if dkms status | grep ^ipt-netflow, >/dev/null; then
617+
if dkms status ipt-netflow | grep ^ipt-netflow/ >/dev/null; then
618618
echo "! You are already have module installed via DKMS"
619619
echo "! it will be uninstalled on 'make install' and"
620620
echo "! current version of module installed afterwards."

0 commit comments

Comments
 (0)