update: abort if FTL branch does not exist (#6329)

This commit is contained in:
Dan Schaper 2025-07-10 12:55:12 -07:00 committed by GitHub
commit 0a36e9d949
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,6 +164,7 @@ main() {
;;
2)
echo -e " ${INFO} FTL:\\t\\t${COL_RED}Branch is not available.${COL_NC}\\n\\t\\t\\tUse ${COL_GREEN}pihole checkout ftl [branchname]${COL_NC} to switch to a valid branch."
exit 1
;;
3)
echo -e " ${INFO} FTL:\\t\\t${COL_RED}Something has gone wrong, cannot reach download server${COL_NC}"