diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 11:26:35 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 11:26:35 +0000 |
commit | 5276157151d44fe7cf09060b413e81a1420c1b93 (patch) | |
tree | 4f65ffacd2e08a294a29ac08ee17fd5edff3d400 /src/shutdown/s6-linux-init-shutdown.c | |
parent | 244dddd0ada79388a27f33e73b173764c581fca1 (diff) | |
download | s6-linux-init-5276157151d44fe7cf09060b413e81a1420c1b93.tar.xz |
shutdown protocol now transmits a timeout; move to stopwatch API
Diffstat (limited to 'src/shutdown/s6-linux-init-shutdown.c')
-rw-r--r-- | src/shutdown/s6-linux-init-shutdown.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |