projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f3bd7
)
Remove svace error
37/190337/1
accepted/tizen/unified/20181002.093426
submit/tizen/20181001.071210
submit/tizen/20181002.010047
author
pr.jung
<pr.jung@samsung.com>
Mon, 1 Oct 2018 05:32:50 +0000
(14:32 +0900)
committer
pr.jung
<pr.jung@samsung.com>
Mon, 1 Oct 2018 05:32:50 +0000
(14:32 +0900)
Change-Id: I6b1b82251e219a980743e7c9cc5e780bb7902dfd
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/shared/logconfig.c
patch
|
blob
|
history
diff --git
a/src/shared/logconfig.c
b/src/shared/logconfig.c
index
86d9e03
..
b415d91
100644
(file)
--- a/
src/shared/logconfig.c
+++ b/
src/shared/logconfig.c
@@
-301,6
+301,8
@@
int log_config_read(struct log_config *config)
config->begin = config->last = NULL;
const char *main_path = getenv("DLOG_CONFIG_PATH") ?: DLOG_CONFIG_PATH;
+ if (!main_path)
+ return -ENOENT;
int r = log_config_read_file(config, main_path);
if (r < 0)
return r;