From 3cd288a9f27ead351686eed1374e8ee0ff0e7317 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 16 Apr 2020 13:14:50 +0200 Subject: [PATCH] - Fix for posix shell syntax for trap in nsd-control-setup. --- doc/Changelog | 1 + smallapp/unbound-control-setup.sh.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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