From b6068fce1ab3af812c87ecb909ad2a5f9d044b06 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 2 Oct 2015 12:56:45 +0200 Subject: [PATCH] pdnssec: Throw an error on existing bind-dnssec-db Closes #2403 --- pdns/pdnssec.cc | 2 +- pdns/ssqlite3.cc | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index e1585e001..8c078bb8d 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -1407,7 +1407,7 @@ try if(cmds[0] == "create-bind-db") { #ifdef HAVE_SQLITE3 if(cmds.size() != 2) { - cerr << "Syntax: pdnssec create-bind-db fname"<