diff options
| author | Daniil Baturin <daniil@vyos.io> | 2026-07-21 10:11:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-21 10:11:42 +0100 |
| commit | 9a02328fd8f68f24a66c9cb559219541508f5f9d (patch) | |
| tree | 71a6a942cca73614d66f8f09f5280533d56c4ad7 /python | |
| parent | 69039b47017bc0187e3305759278fc42d62d3743 (diff) | |
| parent | 2c1a3ba524e2f448568f17e1429af896a8f946d4 (diff) | |
| download | vyos-1x-9a02328fd8f68f24a66c9cb559219541508f5f9d.tar.gz vyos-1x-9a02328fd8f68f24a66c9cb559219541508f5f9d.zip | |
Merge pull request #5337 from jestabro/configd-check-include-list-file
T9105: confirm existence of config-mode file before use
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/configmanager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/configmanager.py b/python/vyos/configmanager.py index 0e7b160c8..46bff08b0 100644 --- a/python/vyos/configmanager.py +++ b/python/vyos/configmanager.py @@ -75,6 +75,8 @@ class ConfigManager: components = {} for file in include_list: path = Path(config_scripts_dir).joinpath(file) + if not path.exists(): + continue file_stem = Path(file).stem name = file_stem.replace('-', '_') |
