mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 13:16:48 +09:00
F OpenNebula/one#7049 fix inverted container command execution condition (#3975)
This commit is contained in:
1 parent
8b2747ccf4
commit
d4dc5c02e4
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user