Skip to content

Commit

Permalink
Update install.sh: remove reboot file if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Aug 18, 2023
1 parent b0383d7 commit dc599fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc599fb

Please sign in to comment.