vscheuber / AM-treetool

A shell script tool to export/import/clone Forgerock AM trees.
16 stars 13 forks source link

Added bad hostname check #8

Closed cuzic4n closed 4 years ago

cuzic4n commented 4 years ago

AM-treetool ±|add-bad-hostname-check|→ ./amtree.sh -h https://openam-tenant-dev.forgeblocks.com/am -u chico.demetroff@@forgerock.com -p 'Frdp-2010' -r /alpha -s Error: Check hostname is valid.

Adds check for when hostname is not valid and exits script.