From 8ae55fb1992b89211c0a80d7436f251d79c1c7df Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 4 Sep 2018 18:34:14 -0600 Subject: [PATCH] map sqlDetails file to array variable --- root/scripts/borgbackup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/scripts/borgbackup.sh b/root/scripts/borgbackup.sh index 446952e..4547e12 100755 --- a/root/scripts/borgbackup.sh +++ b/root/scripts/borgbackup.sh @@ -169,3 +169,6 @@ else echo -e "Script will continue processing..." >> $logFile fi +## Read sqlDetails file and extract necessary information +mapfile -t sqlParams < $sqlDetails +