Skip to content

Commit

Permalink
Update saveImage.sh: Add name of last image to timelapse.sh
Browse files Browse the repository at this point in the history
so it appears in possible "ps" output
  • Loading branch information
EricClaeys authored Sep 18, 2023
1 parent 1f67fd7 commit fe846fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/saveImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ if [[ ${SAVE_IMAGE} == "true" ]]; then
D="--no-debug"
fi
O="${ALLSKY_TMP}/mini-timelapse.mp4"
"${ALLSKY_SCRIPTS}/timelapse.sh" "${D}" --lock --output "${O}" \
--mini --images "${MINI_TIMELAPSE_FILES}"
"${ALLSKY_SCRIPTS}/timelapse.sh" --Last "$( basename "${FINAL_FILE}" )" \
"${D}" --lock --output "${O}" --mini --images "${MINI_TIMELAPSE_FILES}"
if [[ $? -ne 0 ]]; then
# failed so don't try to upload
TIMELAPSE_MINI_UPLOAD_VIDEO="false"
Expand Down

0 comments on commit fe846fe

Please sign in to comment.