From 5830833f7c09b7584f59d048cf8535dc42ea9846 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 12 Jul 2010 21:56:51 +0200 Subject: [PATCH] service: allow input from terminal when executing more than one start-pre or stop-post command --- src/service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/service.c b/src/service.c index 47108503..646749ed 100644 --- a/src/service.c +++ b/src/service.c @@ -1846,7 +1846,8 @@ static void service_run_next(Service *s, bool success) { false, !s->permissions_start_only, !s->root_directory_start_only, - false, + s->control_command_id == SERVICE_EXEC_START_PRE || + s->control_command_id == SERVICE_EXEC_STOP_POST, false, &s->control_pid)) < 0) goto fail; -- 2.39.5