diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-05-29 19:51:27 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-05-29 19:51:27 +0300 |
commit | d3356f7ad2c818c4dec4e4099f0424e5b32b55f1 (patch) | |
tree | 9a53483a54d98362f64bdab57b22002808134dfc | |
parent | 569a907dbb55f5590d7cda1684780a1cafb0563d (diff) | |
download | unit-d3356f7ad2c818c4dec4e4099f0424e5b32b55f1.tar.gz unit-d3356f7ad2c818c4dec4e4099f0424e5b32b55f1.tar.bz2 |
Added version number to main process title.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_main_process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index f0a5903e..b5037635 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -381,7 +381,8 @@ nxt_main_process_title(nxt_task_t *task) end = title + sizeof(title) - 1; - p = nxt_sprintf(title, end, "unit: main [%s", nxt_process_argv[0]); + p = nxt_sprintf(title, end, "unit: main v" NXT_VERSION " [%s", + nxt_process_argv[0]); for (i = 1; nxt_process_argv[i] != NULL; i++) { p = nxt_sprintf(p, end, " %s", nxt_process_argv[i]); |