chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-bus: rename sd_bus_open_system_container() to sd_bus_open_system_machine()
[elogind.git]
/
src
/
run
/
run.c
diff --git
a/src/run/run.c
b/src/run/run.c
index 05bfc61beb4b34df24e7816b365567af5ec164ba..b183e4e616ac3ff07f90e619846938dcfdcd8965 100644
(file)
--- a/
src/run/run.c
+++ b/
src/run/run.c
@@
-214,7
+214,7
@@
static int parse_argv(int argc, char *argv[]) {
break;
case 'M':
break;
case 'M':
- arg_transport = BUS_TRANSPORT_
CONTAINER
;
+ arg_transport = BUS_TRANSPORT_
MACHINE
;
arg_host = optarg;
break;
arg_host = optarg;
break;
@@
-679,7
+679,7
@@
static int start_transient_service(
if (r < 0)
return log_error_errno(r, "Failed to determine tty name: %m");
if (r < 0)
return log_error_errno(r, "Failed to determine tty name: %m");
- } else if (arg_transport == BUS_TRANSPORT_
CONTAINER
) {
+ } else if (arg_transport == BUS_TRANSPORT_
MACHINE
) {
_cleanup_bus_unref_ sd_bus *system_bus = NULL;
_cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
const char *s;
_cleanup_bus_unref_ sd_bus *system_bus = NULL;
_cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
const char *s;