From 390124a02530cd084a2a8b9ea4705c776af7c9ee Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 21 Jun 2021 12:38:10 +0200 Subject: [PATCH] pdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435. --- pdns/pdnsutil.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index a5c99b19d0..e65b8e71b9 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1572,6 +1572,7 @@ static int addSuperMaster(const std::string &IP, const std::string &nameserver, if ( B.superMasterAdd(IP, nameserver, account) ){ return EXIT_SUCCESS; } + cerr<<"could not find a backend with autosecondary support"<