debug(bklog):Debugging duration code
[EVA-2020-02.git] / exec / bklog
index 2cadbc5107b9b9732359d90bc42d48a94761b769..819af4b56e2f5bbc59f6e84b12a5d7483b37c900 100644 (file)
@@ -11,7 +11,7 @@ dirTmpDefault="/dev/shm"; # Default parent of working directory
 
 # Script Metadata
 scriptName="bklog";             # Define basename of script file.
-scriptVersion="0.1.28";          # Define version of script.
+scriptVersion="0.1.28-test1";          # 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.
@@ -1437,7 +1437,7 @@ main() {
            buffer+=("$line");
        done;
        # Mark time for buffer
-       timeBufferEndEpoch="$timeBufferStartEpoch";
+       timeBufferEndEpoch="$timeBufferStartEpoch" && vbm "DEBUG :$fn:timeBufferEndEpoch";
        timeBufferStartEpoch="$(date +%s)" && vbm "DEBUG :$fn:timeBufferStartEpoch";
        # Create dir_tmp if missing
        if ! [[ -d "$dir_tmp" ]]; then