From 5b03b1fdb57709fe18ae3314113d1cfaf3b337a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 10 Jul 2019 17:05:08 +0200 Subject: [PATCH] efiboot: be less verbose if UUID file does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit this is the default for upgraded systems after all. Signed-off-by: Fabian Grünbichler --- efiboot/zz-pve-efiboot | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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)" -- 2.39.2