about summary refs log tree commit diff
path: root/src/daemontools-extras/s6-setlock.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-10-14 17:23:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-10-14 17:23:22 +0000
commit179829aa7b2e275f17c4f8ac465cbfabf0ff7f9b (patch)
tree00b64f7867bdaba5fe63632bb607e5a76da1c065 /src/daemontools-extras/s6-setlock.c
parent7530014a3f607db7dbee656b7451d3e0a0ff3f46 (diff)
downloads6-179829aa7b2e275f17c4f8ac465cbfabf0ff7f9b.tar.gz
s6-179829aa7b2e275f17c4f8ac465cbfabf0ff7f9b.tar.xz
s6-179829aa7b2e275f17c4f8ac465cbfabf0ff7f9b.zip
- update AUTHORS list
 - s6-setlock bugfix: find s6lockd-helper in libexec
Diffstat (limited to 'src/daemontools-extras/s6-setlock.c')
-rw-r--r--src/daemontools-extras/s6-setlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-setlock.c b/src/daemontools-extras/s6-setlock.c
index 2fb6f12..f2ce79e 100644
--- a/src/daemontools-extras/s6-setlock.c
+++ b/src/daemontools-extras/s6-setlock.c
@@ -61,8 +61,8 @@ int main (int argc, char const *const *argv, char const *const *envp)
     if (!tain_now_g()) strerr_diefu1sys(111, "tain_now") ;
     tain_from_millisecs(&deadline, timeout) ;
     tain_add_g(&deadline, &deadline) ;
-    pid = child_spawn(S6_BINPREFIX "s6lockd-helper", cargv, cenvp, p, 2) ;
-    if (!pid) strerr_diefu2sys(111, "spawn ", S6_BINPREFIX "s6lockd-helper") ;
+    pid = child_spawn(S6_LIBEXECPREFIX "s6lockd-helper", cargv, cenvp, p, 2) ;
+    if (!pid) strerr_diefu2sys(111, "spawn ", S6_LIBEXECPREFIX "s6lockd-helper") ;
     x.fd = p[0] ;
     for (;;)
     {