diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 17:52:22 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 17:52:22 +0000 |
commit | 2f8e7b245b7fe187c41ea3655fce7551cfd7a48c (patch) | |
tree | 7cab69ff654641d465353e5c04d9e6d6aa813e8e /src/libs6/s6lockd.c | |
parent | a359fda48970b7d02ef914e3f7aa0a9c9ff73f7f (diff) | |
download | s6-2f8e7b245b7fe187c41ea3655fce7551cfd7a48c.tar.xz |
Separate wall clocks from stopwatches
Diffstat (limited to 'src/libs6/s6lockd.c')
-rw-r--r-- | src/libs6/s6lockd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs6/s6lockd.c b/src/libs6/s6lockd.c index 5e0b30c..d2f76d5 100644 --- a/src/libs6/s6lockd.c +++ b/src/libs6/s6lockd.c @@ -203,7 +203,8 @@ int main (int argc, char const *const *argv) if (selfpipe_trapset(&set) < 0) strerr_diefu1sys(111, "trap signals") ; } - + + tain_now_set_stopwatch() ; tain_now_g() ; tain_addsec_g(&deadline, 2) ; |