mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
Add quotes to warning message
The message for SYSTEMD_LOG_LEVEL= looked a bit strange.
This commit is contained in:
parent
b87c2aa6bf
commit
f0ea29eaeb
@ -884,19 +884,19 @@ void log_parse_environment(void) {
|
||||
|
||||
e = secure_getenv("SYSTEMD_LOG_TARGET");
|
||||
if (e && log_set_target_from_string(e) < 0)
|
||||
log_warning("Failed to parse log target %s. Ignoring.", e);
|
||||
log_warning("Failed to parse log target '%s'. Ignoring.", e);
|
||||
|
||||
e = secure_getenv("SYSTEMD_LOG_LEVEL");
|
||||
if (e && log_set_max_level_from_string(e) < 0)
|
||||
log_warning("Failed to parse log level %s. Ignoring.", e);
|
||||
log_warning("Failed to parse log level '%s'. Ignoring.", e);
|
||||
|
||||
e = secure_getenv("SYSTEMD_LOG_COLOR");
|
||||
if (e && log_show_color_from_string(e) < 0)
|
||||
log_warning("Failed to parse bool %s. Ignoring.", e);
|
||||
log_warning("Failed to parse bool '%s'. Ignoring.", e);
|
||||
|
||||
e = secure_getenv("SYSTEMD_LOG_LOCATION");
|
||||
if (e && log_show_location_from_string(e) < 0)
|
||||
log_warning("Failed to parse bool %s. Ignoring.", e);
|
||||
log_warning("Failed to parse bool '%s'. Ignoring.", e);
|
||||
}
|
||||
|
||||
LogTarget log_get_target(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user