]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #1126: unbound-control-setup hangs while testing for openssl
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 19 Aug 2024 13:51:47 +0000 (15:51 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 19 Aug 2024 13:51:47 +0000 (15:51 +0200)
  presence starting from version 1.21.0.

doc/Changelog
smallapp/unbound-control-setup.sh.in

index 8b05d3186512f40b2dc431fe18431220cde95cd3..ad0da1464f71429e76ef38e656c309265e133bab 100644 (file)
@@ -1,3 +1,7 @@
+19 August 2024: Wouter
+       - Fix #1126: unbound-control-setup hangs while testing for openssl
+         presence starting from version 1.21.0.
+
 9 August 2024: Wouter
        - Fix spelling for the cache-min-negative-ttl entry in the
          example.conf.
index f74b0105afeeb74b553309e273bda8b5bd6f795d..91458af369deb5fcc273c53e0056dc96d158ee5b 100644 (file)
@@ -104,7 +104,7 @@ while getopts 'd:hr' arg; do
 done
 shift $((OPTIND - 1))
 
-if ! openssl >/dev/null 2>&1; then
+if ! openssl </dev/null >/dev/null 2>&1; then
     echo "$0 requires openssl to be installed for keys/certificates generation." >&2
     exit 1
 fi