FIX: Quote case statement variable for range_choice

Fixed unquoted variable in case statement (line 466):
- Changed: case $range_choice in
- To: case "$range_choice" in

This ensures proper variable handling if range_choice contains
special characters or spaces (though unlikely in practice).

All case statements in launcher.sh now properly quoted.
This commit is contained in:
Developer
2026-03-19 22:22:36 -04:00
parent 475ce43255
commit c640c9349f
+1 -1
View File
@@ -463,7 +463,7 @@ handle_loadwatch_analyzer() {
read -r range_choice < /dev/tty read -r range_choice < /dev/tty
case $range_choice in case "$range_choice" in
1) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "1h" ;; 1) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "1h" ;;
2) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "6h" ;; 2) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "6h" ;;
3) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "24h" ;; 3) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "24h" ;;