Same fix in power-profiles as powermenu
This commit is contained in:
parent
b7dd06c751
commit
82257facf6
|
@ -175,7 +175,7 @@ function ask_confirmation() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${confirmed}" == 0 ]; then
|
if [ "${confirmed}" == 0 ]; then
|
||||||
"${menu[${selection}]}"
|
${menu[${selection}]}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,6 +184,6 @@ if [[ $? -eq 0 && ! -z ${selection} ]]; then
|
||||||
${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then
|
${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then
|
||||||
ask_confirmation
|
ask_confirmation
|
||||||
else
|
else
|
||||||
"${menu[${selection}]}"
|
${menu[${selection}]}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue