From 95dd3d56347d304cd5ee38bcc7035e06fe075510 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 7 Jul 2020 15:19:59 -0500 Subject: [PATCH] missing $ --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 9f6096c..a968bb6 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -402,7 +402,7 @@ function smart_gs { last_primaryDBMD5=$(sed "1q;d" ${LOG_PATH}/${HISTORY_MD5}) last_secondDBMD5=$(sed "2q;d" ${LOG_PATH}/${HISTORY_MD5}) last_primaryCLMD5=$(sed "3q;d" ${LOG_PATH}/${HISTORY_MD5}) - last_secondCLMD5=$(sed "4q;d" ${LOG_PATH}/{HISTORY_MD5}) + last_secondCLMD5=$(sed "4q;d" ${LOG_PATH}/{$HISTORY_MD5}) else last_primaryDBMD5="0" last_secondDBMD5="0"