Hi,

ShellCheck reports error [1] in tp/tests/run_parser_all.sh script.
'continue' is used there to exit a function.

I don't consider it to be a big deal but it would be nice to have it
fixed at least for the sake of clean code. Simple patch attached.

The issue has been originally reported by yeah_wang at [2].

Best regards
Vita

[1] https://github.com/koalaman/shellcheck/wiki/SC2104
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1921666

-- 
Vitezslav Crhonek
Software Engineer
Red Hat
diff --git a/tp/tests/run_parser_all.sh b/tp/tests/run_parser_all.sh
index f424bbb421..8069d466f6 100755
--- a/tp/tests/run_parser_all.sh
+++ b/tp/tests/run_parser_all.sh
@@ -46,7 +46,7 @@ check_latex2html_and_tex4ht ()
       if echo "$remaining" | grep '[-]init mediawiki.pm' >/dev/null; then
        if test "$no_html2wiki" = 'yes' ; then
          echo "S: (no html2wiki) $current"
-         continue 2
+         return 2
        fi
       fi
     fi

Reply via email to