From: W.C.A. Wijngaards Date: Thu, 16 Apr 2020 09:47:27 +0000 (+0200) Subject: - Fix help return code in unbound-control-setup script. X-Git-Tag: 1.11.0rc1~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eed157d36e38396fe56a9599fb4921819b9b7c63;p=thirdparty%2Funbound.git - Fix help return code in unbound-control-setup script. --- diff --git a/doc/Changelog b/doc/Changelog index 7e92f5d8a..70e71ab93 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +16 April 2020: Wouter + - Fix help return code in unbound-control-setup script. + 7 April 2020: Wouter - Merge PR #214 from gearnode: unbound-control-setup recreate certificates. With the -r option the certificates are created diff --git a/smallapp/unbound-control-setup.sh.in b/smallapp/unbound-control-setup.sh.in index d901ad6cf..edfac7ffa 100644 --- a/smallapp/unbound-control-setup.sh.in +++ b/smallapp/unbound-control-setup.sh.in @@ -97,7 +97,7 @@ OPTIND=1 while getopts 'd:hr' arg; do case "$arg" in d) DESTDIR="$OPTARG" ;; - h) usage; exit 0 ;; + h) usage; exit 1 ;; r) RECREATE=1 ;; ?) fatal "'$arg' unknown option" ;; esac