updated library and added delmsgs.txt to touch command
This commit is contained in:
parent
39d7bafc2d
commit
a160ffe2b0
|
@ -1 +1 @@
|
||||||
Subproject commit 703351e14a5b98b64db055d792390fbf7e4da66e
|
Subproject commit a899fc0917b254ddc050f916c0479507aa8373fe
|
3
bot.sh
3
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
|
for i in "${files[@]}"; do
|
||||||
touch "${bot_tmpdir}${i}"
|
touch "${bot_tmpdir}${i}"
|
||||||
done
|
done
|
||||||
|
unset files
|
||||||
|
|
||||||
exec 2>>"${bot_tmpdir}/error.log"
|
exec 2>>"${bot_tmpdir}/error.log"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue