Solved ticket #65. Patch submited by Soren Hansen

git-svn-id: http://svn.opennebula.org/one/trunk@306 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños committed 2009-01-19 16:19:07 +00:00
1 parent 9afa95964a
commit dce65cfdfe
1 file changed
+2
+2
View File
@@ -138,6 +138,8 @@ class TMScript
# Returns an array where first element tells if succeded and the
# second one is the error message in case of failure.
def execute(plugin)
return [true,""] if @lines.empty?
result=@lines.each {|line|
res=plugin.execute(@logger, *line)
if !res