From 816fa613b1203cf6a763cf33ea0502e25f391f97 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 11 Feb 2022 12:58:18 +0000 Subject: [PATCH] It's fw_update's job to say what went wrong. input jca OK kmos sthen deraadt kn --- usr.sbin/sysupgrade/sysupgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/sysupgrade/sysupgrade.sh b/usr.sbin/sysupgrade/sysupgrade.sh index f96080096b4..7297bb535e2 100644 --- a/usr.sbin/sysupgrade/sysupgrade.sh +++ b/usr.sbin/sysupgrade/sysupgrade.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: sysupgrade.sh,v 1.44 2020/10/22 07:19:42 tb Exp $ +# $OpenBSD: sysupgrade.sh,v 1.45 2022/02/11 12:58:18 florian Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015 Robert Peichaer @@ -196,7 +196,7 @@ __EOT fi echo Fetching updated firmware. -fw_update -p ${FW_URL} || echo "Warning: firmware not updated." +fw_update -p ${FW_URL} || true install -F -m 700 bsd.rd /bsd.upgrade logger -t sysupgrade -p kern.info "installed new /bsd.upgrade. Old kernel version: $(sysctl -n kern.version)" -- 2.20.1