From b78639c1fdbe05bc39b740d8017015ef67cd7189 Mon Sep 17 00:00:00 2001 From: Sergio Semedi Barranco Date: Thu, 5 Apr 2018 18:27:12 +0200 Subject: [PATCH] F #1918: hotfix, undefined xmlrpc_timeout option (#1935) (cherry picked from commit 162845dc42a34c645c04f1ff8b2ce55d106cc3f3) --- src/sunstone/sunstone-server.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb index 7558a9691c..1eefe950ce 100755 --- a/src/sunstone/sunstone-server.rb +++ b/src/sunstone/sunstone-server.rb @@ -109,7 +109,9 @@ rescue Exception => e exit 1 end -ENV['ONE_XMLRPC_TIMEOUT'] = $conf[:one_xmlrpc_timeout].to_s unless ENV['ONE_XMLRPC_TIMEOUT'] +if $conf[:one_xmlrpc_timeout] + ENV['ONE_XMLRPC_TIMEOUT'] = $conf[:one_xmlrpc_timeout].to_s unless ENV['ONE_XMLRPC_TIMEOUT'] +end $conf[:debug_level] ||= 3