Skip to content

Commit

Permalink
cpu: Properly skipping set of cpu0 state
Browse files Browse the repository at this point in the history
Signed-off-by: Rem01Gaming <[email protected]>
  • Loading branch information
Rem01Gaming committed Oct 16, 2024
1 parent 82a053a commit 1fab5bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/utils/cpu/cpu_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ cpu_core_ctrl() {

selected=$(fzf_select_n "$(printf '%s\n' "${options[@]}")" "CPU Core Control: ")

case $selected in
case "$selected" in
"Back to the main menu") break ;;
" ") ;;
" " | *system*) ;;
*)
cpu_number=${selected:3:1}
new_status=$((1 - $(<"${cpu_dir}/cpu${cpu_number}/online")))
Expand Down

0 comments on commit 1fab5bb

Please sign in to comment.