diff --git a/cvehound/__main__.py b/cvehound/__main__.py index 72ddd1c..e26b1fd 100644 --- a/cvehound/__main__.py +++ b/cvehound/__main__.py @@ -66,7 +66,7 @@ def main(args=sys.argv[1:]): logging.basicConfig(level=loglevel, format='%(message)s') config_info = {} - if cmdargs.config != '-': + if cmdargs.config and cmdargs.config != '-': config_info = get_config_data(cmdargs.config) hound = CVEhound(cmdargs.kernel, cmdargs.config, config_info.get('arch', 'x86'))