diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-28 15:35:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 15:35:16 +0100 |
commit | 6a637704fac75bec87d1dd5474c02efd7efbdeec (patch) | |
tree | 83f3a9c37ad519c391a37213eafe012095fc59e9 /python/vyos/system/grub.py | |
parent | 889c1a81a9e291a276e35617f1d77f9f9bd4b194 (diff) | |
parent | 74e502c16109b8d6d197751fc63ac5a32ff44404 (diff) | |
download | vyos-1x-6a637704fac75bec87d1dd5474c02efd7efbdeec.tar.gz vyos-1x-6a637704fac75bec87d1dd5474c02efd7efbdeec.zip |
Merge pull request #3201 from dmbaturin/T4516-format-string-fix
grub: T4516: correct a format string
Diffstat (limited to 'python/vyos/system/grub.py')
-rw-r--r-- | python/vyos/system/grub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/system/grub.py b/python/vyos/system/grub.py index 864ed65aa..e56f0bec8 100644 --- a/python/vyos/system/grub.py +++ b/python/vyos/system/grub.py @@ -374,7 +374,7 @@ def create_structure(root_dir: str = '') -> None: if not root_dir: root_dir = disk.find_persistence() - Path(f'{root_dir}/GRUB_DIR_VYOS_VERS').mkdir(parents=True, exist_ok=True) + Path(f'{root_dir}/{GRUB_DIR_VYOS_VERS}').mkdir(parents=True, exist_ok=True) def set_console_type(console_type: str, root_dir: str = '') -> None: |