We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f30bd commit 63eb978Copy full SHA for 63eb978
1 file changed
allsky.sh
@@ -107,14 +107,17 @@ if [[ -z ${LAST_CHANGED} ]]; then
107
WEBUI_MSG="Allsky needs to be configured"
108
109
else
110
+ # I don't think we'll ever get here.
111
+ MSG="ERROR: Unknown reason 'lastchanged' did not exist."
112
+ WEBUI_MSG="${MSG}"
113
IMAGE_NAME=""
114
fi
115
if [[ ${NEEDS_REBOOT} == "true" ]]; then
116
MSG+=" The Pi also needs to be rebooted." >&2
117
doExit "${EXIT_ERROR_STOP}" "${IMAGE_NAME}" \
118
"" "${WEBUI_MSG} and then the Pi rebooted."
119
- doExit "${EXIT_ERROR_STOP}" "${IMAGE}" "" "${WEBUI_MSG}."
120
+ doExit "${EXIT_ERROR_STOP}" "${IMAGE_NAME}" "" "${WEBUI_MSG}."
121
122
echo "*** ===== ${MSG}" >&2 # to the log
123
0 commit comments