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 a706880b9a1c653948a4fe22ad3bb8bcc5e332f5..5f5e37397b222c4354be13ef5eb02bc527eb0bb2 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   }, \