Rename config file

This commit changes the name of the config file from ogagent.cfg to
ogclient.cfg.
more_events
Javier Sanchez Parra 2020-03-23 15:58:57 +01:00 committed by Alvaro Neira Ayuso
parent 2cd7f5b4fc
commit f11e345dbf
2 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from signal import signal, SIGPIPE, SIG_DFL
def main():
signal(SIGPIPE, SIG_DFL)
ogconfig = ogConfig()
config_path = f'{ogConfig.OG_PATH}ogClient/cfg/ogagent.cfg'
config_path = f'{ogConfig.OG_PATH}ogClient/cfg/ogclient.cfg'
if (not ogconfig.parser_file(config_path)):
print ('Error: Parsing configuration file')
return 0