From d4a943df58f466248dbd93c4dba7d123f1833edd Mon Sep 17 00:00:00 2001 From: Erik von Reis <evonreis@caltech.edu> Date: Sun, 10 Jan 2021 14:52:32 -0800 Subject: [PATCH] rtcds: added end-of-word check to status scan of lsmod for model names. Fix had previously been applied to other system models --- support/bin/rtcds.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/bin/rtcds.in b/support/bin/rtcds.in index 9dfda676a..809d367cd 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 -- GitLab