aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/musichub/main/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/musichub/main/Main.java b/src/musichub/main/Main.java
index f917b01..b72a95b 100644
--- a/src/musichub/main/Main.java
+++ b/src/musichub/main/Main.java
@@ -20,8 +20,10 @@ public class Main {
if (choice.length() == 0) System.exit(0);
- while (choice.charAt(0) != 'q') {
+ while (!choice.equals("")) { //if the user puts nothing, quit the loop/system
switch (choice.charAt(0)) {
+ case 'q': //added the option directly in the switch instead of the loop
+ System.exit(0);
case 'h':
printAvailableCommands();
choice = scan.nextLine();
mp;follow=1'>Update Docuseal to 2.0.8clyhtsuriva1-1/+1 2025-07-15Update Prometheus to v3.5.0 & Docuseal to 2.0.7clyhtsuriva2-2/+2 2025-07-02Update Portainer to 2.27.9 & Syncthing to 1.30.0 (and using ghcr image)clyhtsuriva2-2/+2 2025-06-30Update PrivateBin to 1.7.8 & Docuseal to 2.0.5clyhtsuriva2-2/+2 2025-06-29Update PrivateBin to 1.7.7clyhtsuriva1-1/+1 2025-06-28Update Prometheus to v3.4.2clyhtsuriva1-1/+1 2025-06-25Update Portainer to 2.27.8 & Docuseal to 2.0.4clyhtsuriva2-2/+2 2025-06-21Update Portainer to 2.27.7clyhtsuriva1-1/+1 2025-06-16Update Docuseal to v2.0.3 & cAdvisor to v0.53.0clyhtsuriva3-3/+3 2025-06-06Update Docuseal to v2.0.2 & Syncthing to 1.29.7clyhtsuriva2-2/+2 2025-06-02Update Prometheus to v3.4.1 & Vaultwarden to 1.34.1clyhtsuriva3-2/+4 2025-05-26Update Docuseal to 2.0.1clyhtsuriva1-3/+1 2025-05-24Using .env for roundcube and optimizing grafana .env usageclyhtsuriva5-37/+52 2025-05-24Add yml --- & ...clyhtsuriva8-0/+15 2025-05-24Migrating values to .env & create .env.templateclyhtsuriva2-11/+39 2025-05-24Add env file for grafanaclyhtsuriva1-0/+4