F OpenNebula/one#7049 fix inverted container command execution condition (#3975)

This commit is contained in:
Daniel Clavijo Coca authored and GitHub committed 2025-12-11 08:35:49 +01:00
1 parent 8b2747ccf4
commit d4dc5c02e4
1 file changed
+2 -2
+2 -2
View File
@@ -116,9 +116,9 @@ class LXCClient
cmd = append_options("#{COMMANDS[:attach]} -n #{name} -- #{cmd}", options)
if detach
Command.container_cmd(name, cmd)
else
Command.execute_detach(cmd)
else
Command.container_cmd(name, cmd)
end
end