[X2Go-Commits] [live-build-x2go] 42/166: fixed calculation error - lower limit for maximum sleep time must be 240, as 239 might be a valid result when calculating the minimum sleep time

git-admin at x2go.org git-admin at x2go.org
Mon Nov 20 02:16:45 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/mate-minidesktop
in repository live-build-x2go.

commit ff36d6050f394d9f513b8d2e2101cb4c87887cf6
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Mon Jan 2 13:33:58 2017 +0100

    fixed calculation error - lower limit for maximum sleep time must be 240, as 239 might be a valid result when calculating the minimum sleep time
---
 config/includes.chroot/lib/live/config/2300-live-autoupdate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2300-live-autoupdate b/config/includes.chroot/lib/live/config/2300-live-autoupdate
index 8c26223..6b94e2b 100755
--- a/config/includes.chroot/lib/live/config/2300-live-autoupdate
+++ b/config/includes.chroot/lib/live/config/2300-live-autoupdate
@@ -84,7 +84,7 @@ fi
 MAXSLEEPTIME=$(cat /proc/cmdline | \
                         tr ' ' '\n' | \
                         awk -F'=' ' /^updatesleep=/ && $2 ~ /^[0-9]*$/ { print $2 }')
-if [ -z "$MAXSLEEPTIME" ] || [ $MAXSLEEPTIME -lt 120 ] ; then
+if [ -z "$MAXSLEEPTIME" ] || [ $MAXSLEEPTIME -lt 240 ] ; then
 	MAXSLEEPTIME=900
 fi
 SLEEPTIME=0

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list