From 44057b4e1c66c729a3658e480e316c74a6f8b1e3 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Fri, 12 Mar 2010 10:42:03 -0500 Subject: [PATCH] windows compile --- db/dbcommands_admin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/db/dbcommands_admin.cpp b/db/dbcommands_admin.cpp index 2d0da537583..0eee18bc4fc 100644 --- a/db/dbcommands_admin.cpp +++ b/db/dbcommands_admin.cpp @@ -385,6 +385,7 @@ namespace mongo { virtual bool adminOnly(){ return true; } virtual bool run(const char *ns, BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result, bool fromRepl) { rotateLogs(); + return 1; } } logRotateCmd;