chiark / gitweb /
execute: fix parsing of StandardError= setting
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Jun 2010 01:37:12 +0000 (03:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Jun 2010 01:37:12 +0000 (03:37 +0200)
src/load-fragment.c

index a706880..5f5e373 100644 (file)
@@ -1366,7 +1366,7 @@ static int load_from_path(Unit *u, const char *path) {
                 { "Environment",            config_parse_strv,            &(context).environment,                          section   }, \
                 { "StandardInput",          config_parse_input,           &(context).std_input,                            section   }, \
                 { "StandardOutput",         config_parse_output,          &(context).std_output,                           section   }, \
-                { "StandardError",          config_parse_output,          &(context).std_output,                           section   }, \
+                { "StandardError",          config_parse_output,          &(context).std_error,                            section   }, \
                 { "TTYPath",                config_parse_path,            &(context).tty_path,                             section   }, \
                 { "SyslogIdentifier",       config_parse_string,          &(context).syslog_identifier,                    section   }, \
                 { "SyslogFacility",         config_parse_facility,        &(context).syslog_priority,                      section   }, \