From: Otto Moerbeek Date: Tue, 26 Oct 2021 06:05:33 +0000 (+0200) Subject: no else after exit X-Git-Tag: dnsdist-1.7.0-beta1~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758f16ecf4e79b1c4f87beec049735abec178065;p=thirdparty%2Fpdns.git no else after exit Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/docs/secpoll-check.sh b/docs/secpoll-check.sh index cf184f0431..0c85582ec0 100644 --- a/docs/secpoll-check.sh +++ b/docs/secpoll-check.sh @@ -3,11 +3,10 @@ if [ $# -ne 1 ]; then echo usage: $0 file exit 1 fi -if ! egrep -v '^(@|;|$)' "$1" | egrep -v 'ubuntu|debian|raspbian|fedora' | egrep -v '(auth|recursor|dnsdist)-[0-9]+\.[0-9]+\.[0-9]+(-(alpha|beta|rc)[0-9]+)?\.security-status +60 IN TXT "[1-3].*"' +if egrep -v '^(@|;|$)' "$1" | egrep -v 'ubuntu|debian|raspbian|fedora' | egrep -v '(auth|recursor|dnsdist)-[0-9]+\.[0-9]+\.[0-9]+(-(alpha|beta|rc)[0-9]+)?\.security-status +60 IN TXT "[1-3].*"' then -echo OK -exit 0 -else echo Not OK exit 1 fi +echo OK +exit 0