fixed shell option case matching

This commit is contained in:
siddarthreddygsr 2025-01-02 15:25:39 +05:30
parent d82669199b
commit 72f661b5a9
1 changed files with 2 additions and 2 deletions

View File

@ -399,8 +399,8 @@ EOF
"$FMT_YELLOW" "$FMT_RESET"
read -r opt
case $opt in
y*|Y*|"") ;;
n*|N*) echo "Shell change skipped."; return ;;
[Yy]*|"") ;;
[Nn]*) echo "Shell change skipped."; return ;;
*) echo "Invalid choice. Shell change skipped."; return ;;
esac