[postcfg] fix last commit
This commit is contained in:
parent
84659674cd
commit
6e81d0fe3a
@ -102,7 +102,7 @@ class ConfigController:
|
||||
target_env_call(["update-grub"])
|
||||
|
||||
# Enable 'menu_auto_hide' when supported in grubenv
|
||||
if exists(join(self.root, "usr/bin/grub-set-bootflag"))
|
||||
if exists(join(self.root, "usr/bin/grub-set-bootflag")):
|
||||
target_env_call(["grub-editenv - set menu_auto_hide=1"])
|
||||
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user