improve countdown a bit

This commit is contained in:
xenia 2020-12-06 00:44:32 -05:00
parent 63302f6a3e
commit 06de6c967d
1 changed files with 4 additions and 1 deletions

View File

@ -8,8 +8,11 @@ function init_day {
day=$(($(date +%d))) day=$(($(date +%d)))
if [ ! -f $day.rkt ]; then if [ ! -f $day.rkt ]; then
set -m
scripts/get-challenge $day &
sleep 1
scripts/make-day $day scripts/make-day $day
scripts/get-challenge $day fg
return 1 return 1
fi fi
return 0 return 0