From: Peter van Dijk Date: Mon, 21 Jun 2021 10:38:10 +0000 (+0200) Subject: pdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435. X-Git-Tag: dnsdist-1.7.0-alpha1~131^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10512%2Fhead;p=thirdparty%2Fpdns.git pdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435. --- 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"<