Skip to content

Commit

Permalink
Display banner before doing version check
Browse files Browse the repository at this point in the history
  • Loading branch information
crobby committed Aug 14, 2023
1 parent a899779 commit f8369c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cleanup/ad-guid-unmigration.sh
Expand Up @@ -177,6 +177,8 @@ if [ $# -lt 1 ]; then
exit 1
fi

display_banner "${banner_text}"

if [ "$dry_run" != true ]
then
# Check the Rancher version before doing anything.
Expand All @@ -194,7 +196,6 @@ then
fi
fi

display_banner "${banner_text}"
read -p "Do you want to continue? (y/n): " choice
if [[ ! $choice =~ ^[Yy]$ ]]; then
echo "Exiting..."
Expand Down

0 comments on commit f8369c8

Please sign in to comment.