From a98c1649cf29e9c4233736472c9d3405a3458115 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 29 Aug 2017 15:50:12 +0200 Subject: main: set name even for syslog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I67d74cc2d539651101e82b17d50c8afb8dde621a Signed-off-by: José Bollo --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 0405fd1f..ac21c81f 100644 --- a/src/main.c +++ b/src/main.c @@ -650,12 +650,12 @@ int main(int argc, char *argv[]) // ------------- Build session handler & init config ------- config = afb_config_parse_arguments(argc, argv); - - afb_debug("main-args"); if (config->name) { + verbose_set_name(config->name, 0); process_name_set_name(config->name); process_name_replace_cmdline(argv, config->name); } + afb_debug("main-args"); // --------- run ----------- if (config->background) { -- cgit 1.2.3-korg