Don't show trial warning on license disabled builds

Former-commit-id: 08fd74360d1e0196db7a6b52717500325533576c
This commit is contained in:
John Sully 2020-04-22 01:04:29 -04:00
parent 542df6655a
commit 210d872af4

View File

@ -5129,8 +5129,10 @@ void redisAsciiArt(void) {
if (cserver.license_key == nullptr)
{
#ifndef NO_LICENSE_CHECK
serverLog(LL_WARNING, "!!!! KeyDB Pro is being run in trial mode !!!!");
serverLog(LL_WARNING, "!!!! Execution will terminate in %d minutes !!!!", cserver.trial_timeout);
#endif
}
zfree(buf);
}