From: Steven Baltakatei Sandoval Date: Wed, 1 Jul 2020 21:03:59 +0000 (+0000) Subject: fix(bkgpslog):Fix secure chunk cleanup code X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/8d0ec0dcfc78f68b2d59560a0a53330891f8bf9b fix(bkgpslog):Fix secure chunk cleanup code --- diff --git a/exec/bkgpslog b/exec/bkgpslog index 6df7797..572220b 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -754,7 +754,7 @@ main() { try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_KML")" && \ vbm "DEBUG:Appended KML location $PATHOUT_KML to $PATHOUT_TAR"; # Remove secured chunks from DIR_TMP - try rm "$PATHOUT_NMEA" "$PATHOUT_NMEA" "$PATHOUT_NMEA"; + try rm "$PATHOUT_NMEA" "$PATHOUT_GPX" "$PATHOUT_KML"; # Reset buffer and filenames unset bufferBash FILEOUT_BASENAME PATHOUT_NMEA PATHOUT_GPX PATHOUT_KML PATHOUT_TAR; vbm "DEBUG:Completed buffer session $debugCounter ." 1>&2;