mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
usr/lib/byobu/.shutil: fix incorrect use of 5165 in get_now, LP: #881437
This commit is contained in:
parent
eca0f973b4
commit
24356426b8
1 changed files with 1 additions and 3 deletions
|
@ -269,9 +269,7 @@ status_freq() {
|
|||
}
|
||||
|
||||
get_now() {
|
||||
if [ -n "${BASH_VERSION}" ] && [ -n "${SECONDS}" ]; then
|
||||
_RET=${SECONDS}
|
||||
elif [ -r /proc/uptime ]; then
|
||||
if [ -r /proc/uptime ]; then
|
||||
# return the integer part of the first item in /proc/uptime
|
||||
local s c
|
||||
read s c < /proc/uptime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue