diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh
index a6cd7536b0401c610d392fb2374d2dd84e538885..ab24ac7c3d68874c5884d6f5d8e138200a80cc5c 100755
--- a/lustre/tests/acceptance-small.sh
+++ b/lustre/tests/acceptance-small.sh
@@ -346,6 +346,7 @@ fi
 if [ "$SANITY_SEC" != "no" ]; then
         title sanity-sec
         bash sanity-sec.sh
+        SANITY_SEC="done"
 fi
 
 RC=$?