diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 11:09:56 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 11:09:56 +0000 |
commit | 73d269669df0f8acab50286fd4e27490e93a334d (patch) | |
tree | 4ec41ca1419c755e77a12af1bf0452d32f235691 /src/skaembutils/s6-maximumtime.c | |
parent | d57bf5c0274184a02898114313225b56ed5ceac3 (diff) | |
download | s6-portable-utils-73d269669df0f8acab50286fd4e27490e93a334d.tar.xz |
Use stopwatches where appropriate
Diffstat (limited to 'src/skaembutils/s6-maximumtime.c')
-rw-r--r-- | src/skaembutils/s6-maximumtime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/skaembutils/s6-maximumtime.c b/src/skaembutils/s6-maximumtime.c index 5752d9a..30161dd 100644 --- a/src/skaembutils/s6-maximumtime.c +++ b/src/skaembutils/s6-maximumtime.c @@ -59,6 +59,7 @@ int main (int argc, char const *const *argv, char const *const *envp) pid = child_spawn0(argv[1], argv+1, envp) ; if (!pid) strerr_diefu2sys(111, "spawn ", argv[1]) ; + tain_now_set_stopwatch() ; tain_now_g() ; tain_add_g(&deadline, &deadline) ; |