From a160ffe2b06dadea96ef411f503b0c0cb710527e Mon Sep 17 00:00:00 2001 From: celso Date: Fri, 31 Mar 2023 01:57:39 -0300 Subject: [PATCH] updated library and added delmsgs.txt to touch command --- bashbot-lib | 2 +- bot.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bashbot-lib b/bashbot-lib index 703351e..a899fc0 160000 --- a/bashbot-lib +++ b/bashbot-lib @@ -1 +1 @@ -Subproject commit 703351e14a5b98b64db055d792390fbf7e4da66e +Subproject commit a899fc0917b254ddc050f916c0479507aa8373fe diff --git a/bot.sh b/bot.sh index 3729e14..5095bd7 100755 --- a/bot.sh +++ b/bot.sh @@ -15,10 +15,11 @@ bot_tmpdir="/tmp/tpdnsbot/" } } -files=( "updates.txt" "sentmsgs.txt" "error.log" ) +files=( "updates.txt" "sentmsgs.txt" "delmsgs.txt" "error.log" ) for i in "${files[@]}"; do touch "${bot_tmpdir}${i}" done +unset files exec 2>>"${bot_tmpdir}/error.log"