diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-15 09:59:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-15 10:00:59 +0000 |
commit | 12cc2e509c1253e08b5fea654e80eb308bc08025 (patch) | |
tree | b8ebf40b7e202ab63cd063edafd0ca1575cd5c84 /src/daemontools-extras | |
parent | 179829aa7b2e275f17c4f8ac465cbfabf0ff7f9b (diff) | |
download | s6-12cc2e509c1253e08b5fea654e80eb308bc08025.tar.xz |
- remove now useless tain_now() check in s6-setlockv2.2.2.0
- version: 2.2.2.0
Diffstat (limited to 'src/daemontools-extras')
-rw-r--r-- | src/daemontools-extras/s6-setlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemontools-extras/s6-setlock.c b/src/daemontools-extras/s6-setlock.c index f2ce79e..15970ed 100644 --- a/src/daemontools-extras/s6-setlock.c +++ b/src/daemontools-extras/s6-setlock.c @@ -58,7 +58,7 @@ int main (int argc, char const *const *argv, char const *const *envp) int p[2] ; unsigned int pid ; char c ; - if (!tain_now_g()) strerr_diefu1sys(111, "tain_now") ; + tain_now_g() ; tain_from_millisecs(&deadline, timeout) ; tain_add_g(&deadline, &deadline) ; pid = child_spawn(S6_LIBEXECPREFIX "s6lockd-helper", cargv, cenvp, p, 2) ; |