[Bug 32411] shutdown(8) absolute-time handling could be more useful

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 1 22:34:41 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=32411

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: eadler
Date: Mon Jan  1 22:33:58 UTC 2018
New revision: 327476
URL: https://svnweb.freebsd.org/changeset/base/327476

Log:
  shutdown: Assume absolute time is in the future

  The original bug describes it best:

  When an absolute time is specified to shutdown, the program's
  behavior depends on whether that time has passed during the
  current calendar day.  POLA would suggest that for shutdown,
  whose time argument is always supposed to be in the future,
  absolute times specified without a specific date should refer
  to the next occurrence of that time, rather than erroring out
  if that time has already passed during the current day.

  PR:           32411
  Submitted by: wollman at khavrinen.lcs.mit.edu
  Submitted on: 2001-11-30 20:30:01 UTC
  Reviewed by:  asmodai (at time of bug submission)

Changes:
  head/sbin/shutdown/shutdown.8
  head/sbin/shutdown/shutdown.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list