summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-28 15:35:16 +0100
committerGitHub <noreply@github.com>2024-03-28 15:35:16 +0100
commit6a637704fac75bec87d1dd5474c02efd7efbdeec (patch)
tree83f3a9c37ad519c391a37213eafe012095fc59e9
parent889c1a81a9e291a276e35617f1d77f9f9bd4b194 (diff)
parent74e502c16109b8d6d197751fc63ac5a32ff44404 (diff)
downloadvyos-1x-6a637704fac75bec87d1dd5474c02efd7efbdeec.tar.gz
vyos-1x-6a637704fac75bec87d1dd5474c02efd7efbdeec.zip
Merge pull request #3201 from dmbaturin/T4516-format-string-fix
grub: T4516: correct a format string
-rw-r--r--python/vyos/system/grub.py2
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: