Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate code in fn_console #36

Closed
dgibbs64 opened this issue Dec 10, 2013 · 2 comments
Closed

duplicate code in fn_console #36

dgibbs64 opened this issue Dec 10, 2013 · 2 comments
Assignees
Labels
command: console outcome: issue resolved This issue was resolved type: bug Something isn't working

Comments

@dgibbs64
Copy link
Member

dgibbs64 commented Dec 10, 2013

Duplicate code in case.

fn_console(){
fn_rootcheck
fn_syscheck
echo ""
echo "${gamename} Console"
echo "============================"
echo ""
echo "Press \"CTRL+b d\" to exit console"
echo -e "\e[0;31mWARNING!\e[0;39m Do NOT press CTRL+c to exit"
echo ""
while true; do
        read -p "Continue? [y/N]" yn
        case $yn in
        [Yy]\* ) break;;
        [Nn]\* ) echo Exiting; return 1 ;;
        [Nn]\* ) echo Exiting; return 1 ;;
        \* ) echo "Please answer yes or no.";;
esac
done
@ghost ghost assigned dgibbs64 Dec 10, 2013
@dgibbs64
Copy link
Member Author

Fixed this

@lock
Copy link

lock bot commented Jul 20, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
command: console outcome: issue resolved This issue was resolved type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant