Skip to content

Commit

Permalink
allsky.sh: add missing "fi"
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Feb 12, 2022
1 parent c095e28 commit db30445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ fi
RETCODE=$?
if [ $RETCODE -ne 0 ]; then
echo -e "${RED}'${CAPTURE}' exited with RETCODE=${RETCODE}, GOT_SIGTERM=$GOT_SIGTERM, GOT_SIGUSR1=$GOT_SIGUSR1${NC}"
fi

# 98 return code means we are restarting. The capture program dealt with notification images.
if [ "${RETCODE}" -eq 98 ] ; then
Expand Down Expand Up @@ -225,4 +226,3 @@ if [ "${USE_NOTIFICATION_IMAGES}" = "1" -a "${RETCODE}" -ne 0 ] ; then
fi

exit $RETCODE

0 comments on commit db30445

Please sign in to comment.