add missing fi

This commit is contained in:
Christer Edwards
2020-02-04 14:51:59 -07:00
parent 70eb3e6aa2
commit b1e44e39ce

View File

@@ -62,6 +62,7 @@ validate_ip() {
echo -e "${COLOR_YELLOW}Warning: ip address already in use ($ip).${COLOR_RESET}"
else
echo -e "${COLOR_GREEN}Valid: ($ip).${COLOR_RESET}"
fi
else
echo -e "${COLOR_RED}Invalid: ($ip).${COLOR_RESET}"
exit 1