From 4725370d8e53f4a00d242bdc957dab0de47b3a53 Mon Sep 17 00:00:00 2001 From: Hugo Rivera <6373447+roguh@users.noreply.github.com> Date: Tue, 20 Mar 2018 03:46:13 -0600 Subject: [PATCH] Set `MIN_WAIT` without config file --- dev/debug_osync.sh | 4 ++++ dev/n_osync.sh | 3 +++ 2 files changed, 7 insertions(+) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index 631352f..e9a9df9 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -5298,7 +5298,11 @@ if [ $_QUICK_SYNC -eq 2 ]; then if [ "$PATH_SEPARATOR_CHAR" == "" ]; then PATH_SEPARATOR_CHAR=";" fi + + if [ $(IsInteger $MIN_WAIT) -ne 1 ]; then MIN_WAIT=30 + + fi else ConfigFile="${1}" LoadConfigFile "$ConfigFile" diff --git a/dev/n_osync.sh b/dev/n_osync.sh index db7edbf..b0f711b 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -2704,7 +2704,10 @@ if [ $_QUICK_SYNC -eq 2 ]; then if [ "$PATH_SEPARATOR_CHAR" == "" ]; then PATH_SEPARATOR_CHAR=";" fi + + if [ $(IsInteger $MIN_WAIT) -ne 1 ]; then MIN_WAIT=30 + fi else ConfigFile="${1}" LoadConfigFile "$ConfigFile"