]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
pdnsutil add-zone-key: better error formatting 10392/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 12 May 2021 10:26:55 +0000 (12:26 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 12 May 2021 10:27:15 +0000 (12:27 +0200)
pdns/pdnsutil.cc

index bc99b51fedc133583ec954c3f020de71a3ef7d3d..6d6dcd33cb28064773beac280aa7075222bba724 100644 (file)
@@ -2724,9 +2724,9 @@ try
       if (bits)
         cerr<<"Requested specific key size of "<<bits<<" bits"<<endl;
       if (id == -1) {
-        cerr<<std::to_string(id)<<"Key was added, but backend does not support returning of key id"<<endl;
+        cerr<<std::to_string(id)<<"Key was added, but backend does not support returning of key id"<<endl;
       } else if (id < -1) {
-        cerr<<std::to_string(id)<<"Key was added, but there was a failure while returning the key id"<<endl;
+        cerr<<std::to_string(id)<<"Key was added, but there was a failure while returning the key id"<<endl;
       } else {
         cout<<std::to_string(id)<<endl;
       }