From 24e7597e76d88ab8955bd9b4084fbfed67af0e3e Mon Sep 17 00:00:00 2001 From: Stephan Oeste Date: Fri, 30 Oct 2020 12:44:53 +0100 Subject: [PATCH] add advanced bash error handling --- contrib/dnsupdate | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/dnsupdate b/contrib/dnsupdate index 73844111..08238786 100644 --- a/contrib/dnsupdate +++ b/contrib/dnsupdate @@ -3,6 +3,8 @@ # puts the result in the dns zone of a Bind9. # bitcoin-seeder: https://github.com/sipa/bitcoin-seeder +set -euo pipefail + # Zone to request from bintcoin-seeder ZONE=dnsseed.example.com # Filters to fetch