]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
pdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435. 10512/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 21 Jun 2021 10:38:10 +0000 (12:38 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 21 Jun 2021 10:38:21 +0000 (12:38 +0200)
pdns/pdnsutil.cc

index a5c99b19d09b9e85719903426ff544b5a159fc1a..e65b8e71b9279ccc55156b6eb0b72b1cfdf9cc25 100644 (file)
@@ -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"<<endl;
   return EXIT_FAILURE;
 }