Commit a38efbfc authored by Andrii Salnikov's avatar Andrii Salnikov

Complain about missing arc.conf only in server mode

parent 62bd7cd7
......@@ -94,7 +94,8 @@ def get_parsed_arcconf(conf_f):
'Using /etc/arc.conf that exists.', def_conf_f)
runconf_load = True
else:
logger.error('Cannot find ARC configuration file in the default location.')
if arcctl_ce_mode():
logger.error('Cannot find ARC configuration file in the default location.')
return None
if runconf_load:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment