Date: Mon, 01 Jan 2018 22:34:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 32411] shutdown(8) absolute-time handling could be more useful Message-ID: <bug-32411-8-43A5w27Q6Y@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-32411-8@https.bugs.freebsd.org/bugzilla/> References: <bug-32411-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D32411 --- Comment #2 from commit-hook@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@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-32411-8-43A5w27Q6Y>