Print arch bits with redis-server -v
This commit is contained in:
parent
ccf1131784
commit
d6ed0f6f00
@ -2302,8 +2302,12 @@ void daemonize(void) {
|
||||
}
|
||||
|
||||
void version() {
|
||||
printf("Redis server v=%s sha=%s:%d malloc=%s\n", REDIS_VERSION,
|
||||
redisGitSHA1(), atoi(redisGitDirty()) > 0, ZMALLOC_LIB);
|
||||
printf("Redis server v=%s sha=%s:%d malloc=%s bits=%d\n",
|
||||
REDIS_VERSION,
|
||||
redisGitSHA1(),
|
||||
atoi(redisGitDirty()) > 0,
|
||||
ZMALLOC_LIB,
|
||||
sizeof(long) == 4 ? 32 : 64);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user