Skip to content

Commit

Permalink
Merge pull request rancher#21 from crobby/migrationreview12
Browse files Browse the repository at this point in the history
Display banner before doing version check
  • Loading branch information
nflynt authored Aug 14, 2023
2 parents a899779 + f8369c8 commit 516bdeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cleanup/ad-guid-unmigration.sh
Original file line number Diff line number Diff line change
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 516bdeb

Please sign in to comment.