HomeFreeBSD

nextboot: check unlink, but only warn on !ENOENT

Description

nextboot: check unlink, but only warn on !ENOENT

Emulate rm -f from the nextboot.sh script: Report all errors, except
ENOENT. This problems show through, except the expected one when
nextboot.conf isn't there.

Sponsored by: Netflix
Reviewed by: rew
Differential Revision: https://reviews.freebsd.org/D44013

Details

Provenance
impAuthored on Feb 22 2024, 3:10 AM
Reviewer
rew
Differential Revision
D44013: nextboot: check unlink, but only warn on !ENOENT
Parents
rG99fa799a19ab: linux_pwd_onexec: do not abort image activation if emul path does not exist
Branches
Unknown
Tags
Unknown