diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-05-15 13:34:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-05-15 13:34:07 +0200 |
commit | ae94bb1a7003c42c43356705d10d841446b6ca28 (patch) | |
tree | 7f6e10d3dc5dd9c60fb924f8900fbebf1ec55473 /doc/examples/daemon-depedencies/require.c | |
parent | doc: bus-chmod: octals (diff) | |
download | bus-ae94bb1a7003c42c43356705d10d841446b6ca28.tar.gz bus-ae94bb1a7003c42c43356705d10d841446b6ca28.tar.bz2 bus-ae94bb1a7003c42c43356705d10d841446b6ca28.tar.xz |
update examples
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/examples/daemon-depedencies/require.c')
-rw-r--r-- | doc/examples/daemon-depedencies/require.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/daemon-depedencies/require.c b/doc/examples/daemon-depedencies/require.c index b6f7945..6970dc2 100644 --- a/doc/examples/daemon-depedencies/require.c +++ b/doc/examples/daemon-depedencies/require.c @@ -22,7 +22,7 @@ int main(int argc, char *argv[]) sprintf(arg, "grep '^%s$' < \"${XDG_RUNTIME_DIR}/started-daemons\" >/dev/null", argv[i]); if (WEXITSTATUS(system(arg))) { sprintf(arg, "%ji require %s", (intmax_t)getppid(), argv[i]); - t(bus_write(&bus, arg)); + t(bus_write(&bus, arg, 0)); } } |