commit:     74780679b37fc00aa39804d8cc3a90abf6e2c745
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 21:31:52 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 21:31:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74780679

eclass/tests/qmail.sh: eend and return should be separate statements

Closes: https://bugs.gentoo.org/839189
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 eclass/tests/qmail.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/tests/qmail.sh b/eclass/tests/qmail.sh
index 8cf0abdae1a6..16e52741c23c 100755
--- a/eclass/tests/qmail.sh
+++ b/eclass/tests/qmail.sh
@@ -13,7 +13,8 @@ test_low_numbers() {
 
        for i in $(seq 0 6); do
                if is_prime ${i}; then
-                       return tend 1 "${i} badly accepted"
+                       tend 1 "${i} badly accepted"
+                       return
                fi
        done
 

Reply via email to