From 82257facf6adca3143bf2c2c9d9cc39564b1e993 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 6 Apr 2023 18:18:00 +0100 Subject: [PATCH] Same fix in power-profiles as powermenu --- scripts/power-profiles | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/power-profiles b/scripts/power-profiles index 93d7d5c1..99f12a64 100755 --- a/scripts/power-profiles +++ b/scripts/power-profiles @@ -175,7 +175,7 @@ function ask_confirmation() { fi if [ "${confirmed}" == 0 ]; then - "${menu[${selection}]}" + ${menu[${selection}]} fi } @@ -184,6 +184,6 @@ if [[ $? -eq 0 && ! -z ${selection} ]]; then ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then ask_confirmation else - "${menu[${selection}]}" + ${menu[${selection}]} fi fi