run: don't wait for start job to complete when running interactively anyway
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2020 18:08:34 +0000 (20:08 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 30 May 2020 18:01:12 +0000 (20:01 +0200)
commitf907491463ac606af7503a8f8a0ed53a6dac6df9
tree5b89f4e34c766d1c621b7f86abaa5b99a278b294
parentd3d1550a5d988bd0dbdd36838c4c0c0e6d68b5e2
run: don't wait for start job to complete when running interactively anyway

Otherwise we'd not read the services input while waiting for the job to
wait, and there's no point in waiting for the job anyway if we wait for
the unit to stop ultimately.

Fixes: #15395
(cherry picked from commit a7c71d214c37797d82de2f66cfe0a0a79c3a5c92)
src/run/run.c