From 5276157151d44fe7cf09060b413e81a1420c1b93 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Sep 2019 11:26:35 +0000 Subject: shutdown protocol now transmits a timeout; move to stopwatch API --- src/shutdown/s6-linux-init-shutdown.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shutdown/s6-linux-init-shutdown.c') diff --git a/src/shutdown/s6-linux-init-shutdown.c b/src/shutdown/s6-linux-init-shutdown.c index 306bee0..2a85ba9 100644 --- a/src/shutdown/s6-linux-init-shutdown.c +++ b/src/shutdown/s6-linux-init-shutdown.c @@ -246,6 +246,7 @@ int main (int argc, char const *const *argv) } if (!argc) dieusage() ; parse_time(&when, argv[0]) ; + tain_sub(&when, &when, &STAMP) ; if (argv[1]) hpr_wall(argv[1]) ; if (what < 4) { -- cgit v1.3.1