summaryrefslogtreecommitdiff
path: root/src/mon/AuthMonitor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mon/AuthMonitor.cc')
-rw-r--r--src/mon/AuthMonitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc
index 83b7ac2ce0c..629451b5eac 100644
--- a/src/mon/AuthMonitor.cc
+++ b/src/mon/AuthMonitor.cc
@@ -897,8 +897,8 @@ bool AuthMonitor::prepare_command(MMonCommand *m)
KeyServerData::Incremental auth_inc;
auth_inc.name = entity;
if (!mon->key_server.contains(auth_inc.name)) {
- ss << "couldn't find entry " << entity;
- err = -ENOENT;
+ ss << "entity " << entity << " does not exist";
+ err = 0;
goto done;
}
auth_inc.op = KeyServerData::AUTH_INC_DEL;