diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-28 23:03:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 23:03:12 -0500 |
commit | 92d6f2f34895a5f126493a2fd7ff8fb660a84a22 (patch) | |
tree | db6a99b5d88c09f81c2537c7c5025be1aa1e5312 /src/run | |
parent | 3401f0e145b2ecb2f7bf3cd68042390d9090c937 (diff) | |
parent | a625def6ea3e6fb1ad78f40a9ff4454c4da79aca (diff) |
Merge pull request #5494 from poettering/run-fixes
systemd-run --user fixes.
Diffstat (limited to 'src/run')
-rw-r--r-- | src/run/run.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/run/run.c b/src/run/run.c index f8257abc93..2e6765aa18 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -497,7 +497,7 @@ static int transient_service_set_properties(sd_bus_message *m, char **argv, cons if (r < 0) return r; - if (arg_wait) { + if (arg_wait || arg_pty) { r = sd_bus_message_append(m, "(sv)", "AddRef", "b", 1); if (r < 0) return r; @@ -1026,7 +1026,6 @@ static int start_transient_service( pty_forward_set_handler(c.forward, pty_forward_handler, &c); } - path = unit_dbus_path_from_name(service); if (!path) return log_oom(); |