1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-02 09:47:00 +03:00

XMLRPC library finder does not break when it can not delete output file

git-svn-id: http://svn.opennebula.org/trunk@84 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños 2008-08-19 13:52:54 +00:00
parent 7913a78429
commit edb46f95de

View File

@ -183,7 +183,7 @@ def test_config(kind, config)
name=gen_test_file(kind)
exit_code=compile(name, args)
File.delete(name)
File.delete(name+".out")
File.delete(name+".out") if File.exists?(name+".out")
return nil if !exit_code