diff --git a/src/server.cpp b/src/server.cpp index e3704870d..4fae6e2af 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -5095,6 +5095,16 @@ sds genRedisInfoString(const char *section) { } } + if (allsections || defsections || !strcasecmp(section,"keydb")) { + if (sections++) info = sdscat(info,"\r\n"); + info = sdscatprintf(info, + "# KeyDB\r\n" + "variant:pro\r\n" + "license_status:%s\r\n", + cserver.license_key ? "OK" : "Trial" + ); + } + /* Get info from modules. * if user asked for "everything" or "modules", or a specific section * that's not found yet. */