Skip to content

Commit

Permalink
Update timelapse.sh: bug fix: move MY_PID assignment up
Browse files Browse the repository at this point in the history
to before it's first used
  • Loading branch information
EricClaeys authored Sep 18, 2023
1 parent 358b536 commit 3686c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/timelapse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ else
fi
fi

MY_PID="$$"
if [[ ${DEBUG} == "true" ]]; then
# Output one string so it's all on one line in log file.
MSG="${ME}: ${GREEN}Starting"
Expand Down Expand Up @@ -310,7 +311,6 @@ fi

# timelapse is uploaded via generateForDay.sh (usually via endOfNight.sh), which called us.

MY_PID="$$"
if [[ ${DEBUG} == "true" ]]; then
# Output one string so it's all on one line in log file.
MSG="${ME}: ${GREEN}"
Expand Down

0 comments on commit 3686c33

Please sign in to comment.