mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 14:12:59 +00:00
trivial: fix shutdown error on fwupdtool activate
EXIT_NOTHING_TO_DO needs to be caught by the shutdown script too. Fixes: #2463
This commit is contained in:
parent
e8e7a16c2e
commit
02d9d23f13
@ -4,4 +4,8 @@
|
|||||||
[ -f @localstatedir@/lib/fwupd/pending.db ] || exit 0
|
[ -f @localstatedir@/lib/fwupd/pending.db ] || exit 0
|
||||||
|
|
||||||
# activate firmware when we have a read-only filesysten
|
# activate firmware when we have a read-only filesysten
|
||||||
@bindir@/fwupdtool activate
|
if !@bindir@/fwupdtool activate; then
|
||||||
|
ret=$?
|
||||||
|
[ "$ret" -eq "2" ] && exit 0
|
||||||
|
exit $ret
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user