From 8d0ec0dcfc78f68b2d59560a0a53330891f8bf9b Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Wed, 1 Jul 2020 21:03:59 +0000 Subject: [PATCH 1/1] fix(bkgpslog):Fix secure chunk cleanup code --- exec/bkgpslog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2