From c253afd21d8243d29e1de5917b1bc9502285658c Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 28 Mar 2024 13:55:43 +0000 Subject: grub: T4516: correct a format string (cherry picked from commit 74e502c16109b8d6d197751fc63ac5a32ff44404) --- python/vyos/system/grub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/system/grub.py') 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: -- cgit v1.2.3