From: Steven Baltakatei Sandoval Date: Sat, 11 Jul 2020 06:43:07 +0000 (+0000) Subject: debug(bklog):Add debug msgs in magicParseProcessStrings X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/5fb689c89606e787575b8fd0cc31186ec55d4dcf?ds=sidebyside;hp=-c debug(bklog):Add debug msgs in magicParseProcessStrings Add debug msgs to try and debug error in procStrings and procFileExts arrays. --- 5fb689c89606e787575b8fd0cc31186ec55d4dcf diff --git a/exec/bklog b/exec/bklog index 38f4f3f..68e46cd 100644 --- a/exec/bklog +++ b/exec/bklog @@ -11,7 +11,7 @@ dirTmpDefault="/dev/shm"; # Default parent of working directory # Script Metadata scriptName="bklog"; # Define basename of script file. -scriptVersion="0.1.16"; # Define version of script. +scriptVersion="0.1.17"; # Define version of script. scriptURL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script. scriptTimeStart="$(date +%Y%m%dT%H%M%S.%N)"; # YYYYmmddTHHMMSS.NNNNNNNNN scriptHostname=$(hostname); # Save hostname of system running this script. @@ -970,6 +970,8 @@ magicParseProcessStrings() { yell "ERROR:$fn:Illegal character '-' at start of process string element:\"$element\""; exit 1; fi; done; vbm "STATUS:$fn:Quick check shows argProcStrings and argProcFileExts appear to have valid contents."; + vbm "STATUS:$fn:argProcStrings:${argProcStrings[*]}" + vbm "STATUS:$fn:argProcStrings:${argProcFileExts[*]}" procStrings+=("${argProcStrings[@]}"); # Export process command strings procFileExts+=("${argProcFileExts[@]}"); # Export process command strings vbm "STATUS:$fn:Finished magicParseProcessStrings() function.";