F #3509: Log vnm hook stdout

* M #: Removed useless variable
This commit is contained in:
Daniel Clavijo Coca authored and Ruben S. Montero committed 2019-07-26 19:46:00 +02:00
1 parent 8b9531fb73
commit 6b39bfea8b
2 files changed
+3 -2

No files matched your search

@@ -363,7 +363,6 @@ module SGIPTables
vars = SGIPTables.vars(vm, nic)
chain = vars[:chain]
chain_in = vars[:chain_in]
chain_out = vars[:chain_out]
+3 -1
View File
@@ -206,9 +206,11 @@ module VNMMAD
cmd = "#{file} #{args.join(' ')}"
_o, e, s = Open3.capture3(cmd, :stdin_data => stdin.to_s)
o, e, s = Open3.capture3(cmd, :stdin_data => stdin.to_s)
raise "Error running #{file}\n#{e}" unless s.exitstatus.zero?
OpenNebula.log o
end
0