xen_poll_error_handling.patch

Return [] rather than nil when polling fails. - Vivien Bernet-Rollande, 04/15/2011 12:05 PM

Download (242 Bytes)

View differences:

poll_2 2011-04-15 15:54:45.000000000 +0200
221 221
        domains
222 222
    rescue
223 223
        STDERR.puts "Error executing #{CONF['XM_POLL']}"
224
        nil
224
        []
225 225
    end
226 226
    end