Steps To Reproduce
- Run sudo bash /var/scripts/menu.sh
- Select Any Option.
Expected Result
Child menus should open.
Actual Result
Running the main menu script...
Testing if network is OK...
Checking connection...
/var/scripts/main_menu.sh: line 67: syntax error near unexpected token else' /var/scripts/main_menu.sh: line 67: else'
Screenshots, Videos, or Pastebins
No response
Additional Context
Commit f235312 introduced this bug by adding an extra "fi" on line 60 without deleting the one on line 63. This causes the parent if statement to 'finish' earlier than expected, causing the error.
Build Version
23.0.1
Environment
By downloading the VM
Environment Details
No response
Steps To Reproduce
Expected Result
Child menus should open.
Actual Result
Running the main menu script...
Testing if network is OK...
Checking connection...
/var/scripts/main_menu.sh: line 67: syntax error near unexpected token
else' /var/scripts/main_menu.sh: line 67:else'Screenshots, Videos, or Pastebins
No response
Additional Context
Commit f235312 introduced this bug by adding an extra "fi" on line 60 without deleting the one on line 63. This causes the parent if statement to 'finish' earlier than expected, causing the error.
Build Version
23.0.1
Environment
By downloading the VM
Environment Details
No response