added file creation before running main loop
This commit is contained in:
parent
791ed382db
commit
cbe119ff37
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