Skip to content

Commit

Permalink
Check for the default config file.
Browse files Browse the repository at this point in the history
There might not be a conf/cuckoo.conf file, i.e. if the user has simply
created custom/conf/cuckoo.conf to override the defaults.
  • Loading branch information
Tommy Beadle committed Mar 20, 2024
1 parent 7b76419 commit c38397a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cuckoo/core/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def check_configs():
@raise CuckooStartupError: if config files do not exist.
"""
configs = [
os.path.join(CUCKOO_ROOT, "conf", "cuckoo.conf"),
os.path.join(CUCKOO_ROOT, "conf", "reporting.conf"),
os.path.join(CUCKOO_ROOT, "conf", "auxiliary.conf"),
os.path.join(CUCKOO_ROOT, "conf", "default", "cuckoo.conf.default"),
os.path.join(CUCKOO_ROOT, "conf", "default", "reporting.conf.default"),
os.path.join(CUCKOO_ROOT, "conf", "default", "auxiliary.conf.default"),
]

for config in configs:
Expand Down

0 comments on commit c38397a

Please sign in to comment.