You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function consolidate_domain() {
local domain_name=$1
local _ret=
local backing_file=
local command_output=
local parent_backing_file=
local dom_state=
dom_state=$($VIRSH domstate "$domain_name" 2>&1)
if **[ "$dom_state" != "running" ] && [ "$dom_state" != "ejecutando" ];** then
print_v e "Error: Consolidation requires '$domain_name' to be running"
return 1
fi
The text was updated successfully, but these errors were encountered:
miguelcarretas
changed the title
Consolodition function don't work in spanish language
Consolidation function don't work in spanish language
Nov 6, 2024
I think this will always return false. Can you try this instead?
if [ "$dom_state" == "running" ] || [ "$dom_state" == "ejecutando" ]; then
print_v d "Debug: '$domain_name' is running (ejecutando)"
else
print_v e "Error: Consolidation requires '$domain_name' to be running"
return 1
fi
Please, add "ejecutando" on if statement:
The text was updated successfully, but these errors were encountered: