diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-08-29 15:50:12 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-08-29 15:50:12 +0200 |
commit | a98c1649cf29e9c4233736472c9d3405a3458115 (patch) | |
tree | 69a06e30749d4a1b5555486bde169cc96fcd2216 | |
parent | 197626868aaf84e9a68e8e7e5397ef1c6883a0f1 (diff) |
main: set name even for syslog
Change-Id: I67d74cc2d539651101e82b17d50c8afb8dde621a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |