corretto path di sed nella funzione lock

This commit is contained in:
lejubila
2017-06-17 12:40:40 +02:00
parent 37a6c58b5a
commit 164169e375
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
## 0.4.3 - 17/06/2017
Fix path of sed in lock function
## 0.4.2 - 16/06/2017
Fix another problem on generate installation identifier to sendo for statistic

View File

@@ -1418,7 +1418,7 @@ list_descendants ()
#
function lock {
sleep 0.$((100 * $RANDOM / 32767)) | sed 's/..$/.&/'
sleep 0.$((100 * $RANDOM / 32767)) | $SED 's/..$/.&/'
local max_time=10
local current_time=$(($1 + 1))
@@ -1496,7 +1496,7 @@ function debug2 {
VERSION=0
SUB_VERSION=4
RELEASE_VERSION=2
RELEASE_VERSION=3
DIR_SCRIPT=`dirname $0`
NAME_SCRIPT=${0##*/}