From 06de6c967dbb63d93e5501df17b6197941371518 Mon Sep 17 00:00:00 2001 From: haskal Date: Sun, 6 Dec 2020 00:44:32 -0500 Subject: [PATCH] improve countdown a bit --- scripts/countdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/countdown b/scripts/countdown index e1c993c..70b1657 100755 --- a/scripts/countdown +++ b/scripts/countdown @@ -8,8 +8,11 @@ function init_day { day=$(($(date +%d))) if [ ! -f $day.rkt ]; then + set -m + scripts/get-challenge $day & + sleep 1 scripts/make-day $day - scripts/get-challenge $day + fg return 1 fi return 0