Page MenuHomeFreeBSD

nextboot: check unlink, but only warn on !ENOENT
ClosedPublic

Authored by imp on Feb 21 2024, 3:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 8:32 PM
Unknown Object (File)
Thu, Sep 24, 6:40 AM
Unknown Object (File)
Wed, Sep 23, 5:27 PM
Unknown Object (File)
Wed, Sep 23, 9:04 AM
Unknown Object (File)
Sat, Sep 12, 11:29 PM
Unknown Object (File)
Fri, Sep 11, 8:13 PM
Unknown Object (File)
Wed, Sep 9, 10:12 AM
Unknown Object (File)
Sun, Sep 6, 11:01 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable