diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh
index d548db42ec586e6d17d4482206a9993d149a3ba7..115a3f04921ab2a7e007157d2f29d187312901f9 100644
--- a/lustre/tests/sanity-quota.sh
+++ b/lustre/tests/sanity-quota.sh
@@ -577,7 +577,7 @@ run_test 6 "Block quota acquire & release ========="
 # quota recovery (block quota only by now)
 test_7()
 {
-	remote_mds && skip "remote mds"
+	remote_mds && skip "remote mds" && return 0
 
 	LIMIT=$(( $BUNIT_SZ * $(($OSTCOUNT + 1)) * 10)) # 10 bunits each sever
 	TESTFILE="$TSTDIR/quota_tst70"