added file creation before running main loop
This commit is contained in:
parent
c14d8b5a08
commit
751c0b70a9
5
bot.sh
5
bot.sh
|
@ -15,6 +15,11 @@ bot_tmpdir="/tmp/tpdnsbot/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
files=( "updates.txt" "sentmsgs.txt" "error.log" )
|
||||||
|
for i in "${files[@]}"; do
|
||||||
|
touch "${bot_tmpdir}${i}"
|
||||||
|
done
|
||||||
|
|
||||||
exec 2>>"${bot_tmpdir}/error.log"
|
exec 2>>"${bot_tmpdir}/error.log"
|
||||||
|
|
||||||
. ./bashbot-lib/bashbot-lib.sh
|
. ./bashbot-lib/bashbot-lib.sh
|
||||||
|
|
Loading…
Reference in New Issue