From 9e38fdb5f328aea8c558a7d55d7840c8b3583140 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Mar 2026 20:15:14 +0800 Subject: [PATCH] run-nightly.sh: fix exit for once single run ./run-nightly.sh: line 20: date;: command not found --- automated/run-nightly.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated/run-nightly.sh b/automated/run-nightly.sh index 9224e1ea..fd7bf564 100755 --- a/automated/run-nightly.sh +++ b/automated/run-nightly.sh @@ -17,8 +17,8 @@ while true; do time script -c "./build.sh nightly-$(date -u +%F) $cmd" $LOG_FILE touch -h nightly-build.log ${cmd:+exit 0} - ${once:+date; exit 0} echo "$0: run completed at $(date)" + ${once:+exit 0} echo sleep 90m echo