added file creation before running main loop
This commit is contained in:
parent
8f708b2873
commit
39d7bafc2d
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