diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-10 14:07:56 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-10 14:07:56 +0900 |
commit | 40f04cde5bd15eb63094a6a7dc4d061fc4051939 (patch) | |
tree | 5d665af24e6a592644abcf8b55a7d4debb3eff42 /src/xdg-autostart-generator/xdg-autostart-service.c | |
parent | vlan: downgrade error level if the error will be ignored (diff) | |
download | systemd-40f04cde5bd15eb63094a6a7dc4d061fc4051939.tar.xz systemd-40f04cde5bd15eb63094a6a7dc4d061fc4051939.zip |
xdg-autostart-generator: downgrade error level when the error will be ignored
Diffstat (limited to 'src/xdg-autostart-generator/xdg-autostart-service.c')
-rw-r--r-- | src/xdg-autostart-generator/xdg-autostart-service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c index 80643236d5d..c6f39f25bdb 100644 --- a/src/xdg-autostart-generator/xdg-autostart-service.c +++ b/src/xdg-autostart-generator/xdg-autostart-service.c @@ -166,7 +166,7 @@ static int xdg_config_parse_string( /* XDG does not allow duplicate definitions. */ if (*out) { - log_syntax(unit, LOG_ERR, filename, line, 0, "Key %s was defined multiple times, ignoring.", lvalue); + log_syntax(unit, LOG_WARNING, filename, line, 0, "Key %s was defined multiple times, ignoring.", lvalue); return 0; } @@ -238,7 +238,7 @@ static int xdg_config_parse_strv( /* XDG does not allow duplicate definitions. */ if (*ret_sv) { - log_syntax(unit, LOG_ERR, filename, line, 0, "Key %s was already defined, ignoring.", lvalue); + log_syntax(unit, LOG_WARNING, filename, line, 0, "Key %s was already defined, ignoring.", lvalue); return 0; } @@ -256,7 +256,7 @@ static int xdg_config_parse_strv( /* Move forward, and ensure it is a valid escape. */ end++; if (!strchr("sntr\\;", *end)) { - log_syntax(unit, LOG_ERR, filename, line, 0, "Undefined escape sequence \\%c.", *end); + log_syntax(unit, LOG_WARNING, filename, line, 0, "Undefined escape sequence \\%c.", *end); return 0; } continue; |