Show hg revision number (serno) in ircd -version.
This commit is contained in:
parent
bec4db9b38
commit
7f9801883f
|
@ -606,7 +606,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
if(printVersion)
|
if(printVersion)
|
||||||
{
|
{
|
||||||
printf("ircd: version %s\n", ircd_version);
|
printf("ircd: version %s(%s)\n", ircd_version, serno);
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue