chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
160cd5c
)
log: unify log env var prefix
author
Lennart Poettering
<lennart@poettering.net>
Thu, 24 Jun 2010 01:07:06 +0000
(
03:07
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 24 Jun 2010 01:07:06 +0000
(
03:07
+0200)
src/log.c
patch
|
blob
|
history
diff --git
a/src/log.c
b/src/log.c
index 4840185bc1cabb7896b163494c90211cd03e4649..a47285cb2129130e463ed822767ac1fa501d3088 100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-474,11
+474,11
@@
void log_parse_environment(void) {
if (log_set_max_level_from_string(e) < 0)
log_warning("Failed to parse log level %s. Ignoring.", e);
if (log_set_max_level_from_string(e) < 0)
log_warning("Failed to parse log level %s. Ignoring.", e);
- if ((e = getenv("SYSTEMD_
SHOW
_COLOR")))
+ if ((e = getenv("SYSTEMD_
LOG
_COLOR")))
if (log_show_color_from_string(e) < 0)
log_warning("Failed to parse bool %s. Ignoring.", e);
if (log_show_color_from_string(e) < 0)
log_warning("Failed to parse bool %s. Ignoring.", e);
- if ((e = getenv("SYSTEMD_
SHOW
_LOCATION"))) {
+ if ((e = getenv("SYSTEMD_
LOG
_LOCATION"))) {
if (log_show_location_from_string(e) < 0)
log_warning("Failed to parse bool %s. Ignoring.", e);
}
if (log_show_location_from_string(e) < 0)
log_warning("Failed to parse bool %s. Ignoring.", e);
}