We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6287f92 commit a50cc4fCopy full SHA for a50cc4f
1 file changed
allsky.sh
@@ -450,6 +450,15 @@ if [[ ${RETCODE} -eq ${ALLSKY_EXIT_OK} ]]; then
450
doExit "${ALLSKY_EXIT_OK}" ""
451
fi
452
453
+if [[ ${RETCODE} -eq ${ALLSKY_EXIT_STOP} ]]; then
454
+ set_allsky_status "${ALLSKY_STATUS_STOPPED}"
455
+ # Give it time to finish uploading and processing last image.
456
+ sleep 5
457
+ echo "Stopping Allsky after set number of images."
458
+ stop_Allsky
459
+ exit 0
460
+fi
461
+
462
if [[ ${RETCODE} -eq ${ALLSKY_EXIT_RESTARTING} ]]; then
463
if [[ ${ON_TTY} == "true" ]]; then
464
echo "*** Can restart Allsky now. ***"
0 commit comments