unix-manager: fix output of version command

Make it consistent with the output of version command line flag.
pull/2242/head
Eric Leblond 9 years ago committed by Victor Julien
parent 65fd09a399
commit 1cdd062dc6

@ -662,7 +662,7 @@ TmEcode UnixManagerVersionCommand(json_t *cmd,
SCEnter(); SCEnter();
json_object_set_new(server_msg, "message", json_string( json_object_set_new(server_msg, "message", json_string(
#ifdef REVISION #ifdef REVISION
PROG_VER xstr(REVISION) PROG_VER " (rev " xstr(REVISION) ")"
#elif defined RELEASE #elif defined RELEASE
PROG_VER " RELEASE" PROG_VER " RELEASE"
#else #else

Loading…
Cancel
Save