diff --git a/install.sh b/install.sh index c43c77739..d3187c388 100755 --- a/install.sh +++ b/install.sh @@ -2583,6 +2583,9 @@ exit_installation() ${STATUS_CODE} == "${STATUS_NO_REBOOT}" ]]; then uptime --since > "${ALLSKY_REBOOT_NEEDED}" display_image "RebootNeeded" + else + # Just in case it's left over from a prior install. + rm -f "${ALLSKY_REBOOT_NEEDED}" fi fi fi