run-nightly: exit if an (interactive) command was passed

This commit is contained in:
Jens Petersen 2024-10-13 16:59:13 +02:00
parent 8d9716a4e3
commit 75bc96e9a3

View File

@ -5,6 +5,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
while true; do
git pull
./build.sh nightly-$(date -u +%F) $1
${1:+exit 0}
date
sleep 49m