From: afresh1 Date: Thu, 28 Sep 2023 00:52:16 +0000 (+0000) Subject: Exit successfully at the end of fw_update X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5b80eddbee48afe4e32d303eb83d18953fe6fe21;p=openbsd Exit successfully at the end of fw_update Otherwise the exit status depends on whether we kept any firmware. Reported by Brian Conway The clean solution suggested by guenther@ --- diff --git a/usr.sbin/fw_update/fw_update.sh b/usr.sbin/fw_update/fw_update.sh index 0a773cd379e..dbfeca8d147 100644 --- a/usr.sbin/fw_update/fw_update.sh +++ b/usr.sbin/fw_update/fw_update.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: fw_update.sh,v 1.48 2023/09/28 00:45:22 afresh1 Exp $ +# $OpenBSD: fw_update.sh,v 1.49 2023/09/28 00:52:16 afresh1 Exp $ # # Copyright (c) 2021,2023 Andrew Hewus Fresh # @@ -763,3 +763,5 @@ done [ "$unregister" ] && status "; unregister ${unregister:#,}" [ "$kept" ] && status "; keep ${kept:#,}" + +exit 0