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:
+1
-1
@@ -463,7 +463,7 @@ handle_loadwatch_analyzer() {
|
||||
|
||||
read -r range_choice < /dev/tty
|
||||
|
||||
case $range_choice in
|
||||
case "$range_choice" in
|
||||
1) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "1h" ;;
|
||||
2) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "6h" ;;
|
||||
3) run_module "diagnostics" "loadwatch-analyzer.sh" "-r" "24h" ;;
|
||||
|
||||
Reference in New Issue
Block a user