From 24356426b83b1f8b23cfc96de4834d542930c5bb Mon Sep 17 00:00:00 2001 From: zorun Date: Tue, 25 Oct 2011 15:57:12 +0200 Subject: [PATCH] usr/lib/byobu/.shutil: fix incorrect use of 5165 in get_now, LP: #881437 --- usr/lib/byobu/.shutil | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/lib/byobu/.shutil b/usr/lib/byobu/.shutil index e98f7f54..a7c04478 100755 --- a/usr/lib/byobu/.shutil +++ b/usr/lib/byobu/.shutil @@ -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