mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Print arch bits with redis-server -v
This commit is contained in:
parent
4c442e9d88
commit
6e05f333a2
@ -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