]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix help return code in unbound-control-setup script.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Apr 2020 09:47:27 +0000 (11:47 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Apr 2020 09:47:27 +0000 (11:47 +0200)
doc/Changelog
smallapp/unbound-control-setup.sh.in

index 7e92f5d8ac3b90c9d2a2e97be20f18f4162edaf3..70e71ab93ae613c990298684d7173c0267a2af08 100644 (file)
@@ -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
index d901ad6cf6e75490d20739ca258082ccea3f177b..edfac7ffada295e6ff53e487dd919678f3c7476c 100644 (file)
@@ -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