diff --git a/support/bin/rtcds.in b/support/bin/rtcds.in
index 9dfda676a63f687a88994686579a7c59fc1b10aa..809d367cd8ed483e403d1ca5ca369424af68a0ce 100755
--- a/support/bin/rtcds.in
+++ b/support/bin/rtcds.in
@@ -382,7 +382,7 @@ _lsmod() {
 	    if epics_only_model $m ; then
 		test 0
 	    else
-		md=$(lsmod | grep "^${m}") || true
+		md=$(lsmod | grep "^${m}\s") || true
 		if [ -z "$md" ] ; then
 		    printf "%-18s ***NOT LOADED***\n" "$m"
 		    allloaded=1