[postcfg] fix last commit

This commit is contained in:
Philip Müller 2018-09-25 20:16:20 +02:00
parent 84659674cd
commit 6e81d0fe3a

View File

@ -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