X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fservice.c;h=6f1a85e943d02f43ee39bd33e708215b3b64c36a;hp=abd8f36bddda7e712b1d5f31efc042bb26b39211;hb=00ca7f07825dd3d0a8820eafdd8fcdbd2c7809d9;hpb=34a2dc4bfce222a6eb858bc5effab0091bf0db2e diff --git a/src/service.c b/src/service.c index abd8f36bd..6f1a85e94 100644 --- a/src/service.c +++ b/src/service.c @@ -783,19 +783,6 @@ static int service_load_sysv_path(Service *s, const char *path) { free(short_description); short_description = d; - } else if (startswith_no_case(t, "X-Interactive:")) { - int b; - - if ((b = parse_boolean(strstrip(t+14))) < 0) { - log_warning("[%s:%u] Couldn't parse interactive flag. Ignoring.", path, line); - continue; - } - - if (b) - s->exec_context.std_input = EXEC_INPUT_TTY; - else - s->exec_context.std_input = EXEC_INPUT_NULL; - } else if (state == LSB_DESCRIPTION) { if (startswith(l, "#\t") || startswith(l, "# ")) {