From d3356f7ad2c818c4dec4e4099f0424e5b32b55f1 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 29 May 2018 19:51:27 +0300 Subject: Added version number to main process title. --- src/nxt_main_process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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]); -- cgit