fixed sendKey to correctly build keySendTime

This commit is contained in:
Llewellyn van der Merwe 2017-12-28 18:55:17 +02:00
parent edfbf142cb
commit 2e6c2d37ef
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ function sendTime () {
local target_type="$1"
local target_value="$2"
# build key show time
keySendTime=$(echo -n "${target_type}${target_value}${showKey}" | md5sum)
keySendTime=$(echo -n "${target_type}${target_value}${sendKey}" | md5sum)
# check if we should send
if (( "$sendSwitch" == 2 ))
then