mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +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() {
|
void version() {
|
||||||
printf("Redis server v=%s sha=%s:%d malloc=%s\n", REDIS_VERSION,
|
printf("Redis server v=%s sha=%s:%d malloc=%s bits=%d\n",
|
||||||
redisGitSHA1(), atoi(redisGitDirty()) > 0, ZMALLOC_LIB);
|
REDIS_VERSION,
|
||||||
|
redisGitSHA1(),
|
||||||
|
atoi(redisGitDirty()) > 0,
|
||||||
|
ZMALLOC_LIB,
|
||||||
|
sizeof(long) == 4 ? 32 : 64);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user