updated library and added delmsgs.txt to touch command
This commit is contained in:
parent
cbe119ff37
commit
551cc4078e
|
@ -1 +1 @@
|
||||||
Subproject commit 601128b8561c1b5d112eba8cf28878f25440b0e1
|
Subproject commit 0c5b3d36c85628ef2cda22cc07a1a0aa0958088e
|
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