usr/lib/byobu/.shutil: fix incorrect use of 5165 in get_now, LP: #881437

This commit is contained in:
zorun 2011-10-25 15:57:12 +02:00
commit 24356426b8

View file

@ -269,9 +269,7 @@ status_freq() {
} }
get_now() { get_now() {
if [ -n "${BASH_VERSION}" ] && [ -n "${SECONDS}" ]; then if [ -r /proc/uptime ]; then
_RET=${SECONDS}
elif [ -r /proc/uptime ]; then
# return the integer part of the first item in /proc/uptime # return the integer part of the first item in /proc/uptime
local s c local s c
read s c < /proc/uptime read s c < /proc/uptime