From: Fabian Grünbichler Date: Wed, 10 Jul 2019 15:05:08 +0000 (+0200) Subject: efiboot: be less verbose if UUID file does not exist X-Git-Url: https://git.proxmox.com/?p=pve-kernel-meta.git;a=commitdiff_plain;h=5b03b1fdb57709fe18ae3314113d1cfaf3b337a0 efiboot: be less verbose if UUID file does not exist this is the default for upgraded systems after all. Signed-off-by: Fabian Grünbichler --- diff --git a/efiboot/zz-pve-efiboot b/efiboot/zz-pve-efiboot index 134d4ab..5e4d6dc 100755 --- a/efiboot/zz-pve-efiboot +++ b/efiboot/zz-pve-efiboot @@ -39,11 +39,8 @@ potential_esps(){ update_esps() { if [ ! -f "${ESP_LIST}" ]; then - warn "No ${ESP_LIST} found, cannot update installed kernels - exiting" - esps="$(potential_esps)" - warn "add the UUIDs of one of the following devices to ${ESP_LIST}:" - warn "${esps}" - exit 1 + warn "No ${ESP_LIST} found, skipping ESP sync." + exit 0 fi if [ -f /etc/kernel/cmdline ]; then CMDLINE="$(cat /etc/kernel/cmdline)"