]> granicus.if.org Git - procps-ng/commit
whattime: Show 0 minutes in pretty output
authorKyle Laker <lakerka@dukes.jmu.edu>
Thu, 23 Mar 2017 14:53:55 +0000 (10:53 -0400)
committerCraig Small <csmall@enc.com.au>
Sat, 23 Sep 2017 07:32:29 +0000 (17:32 +1000)
commit325d68b7c39f432a2814f06b00eb0f9a45559c6c
treeabc08656320ae314b94db736fefe4731c114804f
parent53e101452fe90f88b21ebe2bf80ff045f71f6b93
whattime: Show 0 minutes in pretty output

When supplying the -p command to uptime, it does not display any
sections where the value is less than 1; however, after a reboot, this
causes the command to just output "up". Showing 0 minutes when the
system has been up for less than a minute makes it clear a reboot just
occurred.
proc/whattime.c