mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-04-28 16:36:48 +00:00
proxmox-boot: redirect stdout in update-grub snippet
update-grub (via grub-mkconfig) generates the grub configuration by concatenating the output of each snippet (from /etc/grub.d). We need to redirect the output of `proxmox-boot-tool refresh` to not end up with a syntactically wrong config in /boot/grub/grub.cfg (which is not used in any case) quickly tested with a test-installation of mine Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
4e08066556
commit
dc3e3e5ca7
@ -18,7 +18,7 @@ if proxmox-boot-tool status --quiet; then
|
||||
warn "W: Running: 'proxmox-boot-tool refresh'"
|
||||
warn ""
|
||||
|
||||
proxmox-boot-tool refresh
|
||||
proxmox-boot-tool refresh > /dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user