- Update patch to remove 'command' shell builtin and update error

text.
This commit is contained in:
Yorgos Thessalonikefs 2024-05-27 17:17:48 +02:00
parent faf3d358dc
commit 5fc4673901
2 changed files with 6 additions and 2 deletions

View file

@ -5,6 +5,10 @@
27 May 2024: Yorgos 27 May 2024: Yorgos
- Fix unused variable warning on compilation with no thread support. - Fix unused variable warning on compilation with no thread support.
- unbound-control-setup: check openssl availability before doing
anything, patch from Michael Tokarev.
- Update patch to remove 'command' shell builtin and update error
text.
24 May 2024: Wouter 24 May 2024: Wouter
- Fix #1064: Unbound 1.20 Cachedb broken? - Fix #1064: Unbound 1.20 Cachedb broken?

View file

@ -104,8 +104,8 @@ while getopts 'd:hr' arg; do
done done
shift $((OPTIND - 1)) shift $((OPTIND - 1))
if ! command -v openssl >/dev/null; then if ! openssl >/dev/null 2>&1; then
echo "$0 requires openssl package to be installed to generate the keys." >&2 echo "$0 requires openssl to be installed for keys/certificates generation." >&2
exit 1 exit 1
fi fi