From: W.C.A. Wijngaards Date: Thu, 16 Apr 2020 11:14:50 +0000 (+0200) Subject: - Fix for posix shell syntax for trap in nsd-control-setup. X-Git-Tag: 1.11.0rc1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cd288a9f27ead351686eed1374e8ee0ff0e7317;p=thirdparty%2Funbound.git - Fix for posix shell syntax for trap in nsd-control-setup. --- diff --git a/doc/Changelog b/doc/Changelog index b779a58c4..8f6a5758e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 16 April 2020: Wouter - Fix help return code in unbound-control-setup script. + - Fix for posix shell syntax for trap in nsd-control-setup. 15 April 2020: George - Fix #220: auth-zone section in config may lead to segfault. diff --git a/smallapp/unbound-control-setup.sh.in b/smallapp/unbound-control-setup.sh.in index edfac7ffa..3e506e84e 100644 --- a/smallapp/unbound-control-setup.sh.in +++ b/smallapp/unbound-control-setup.sh.in @@ -108,7 +108,7 @@ shift $((OPTIND - 1)) echo "setup in directory $DESTDIR" cd "$DESTDIR" -trap cleanup SIGINT +trap cleanup INT # === # Generate server certificate