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)
Mon, Oct 6, 4:08 AM
Unknown Object (File)
Tue, Sep 23, 10:17 AM
Unknown Object (File)
Mon, Sep 22, 1:30 PM
Unknown Object (File)
Wed, Sep 10, 9:38 PM
Unknown Object (File)
Aug 28 2025, 1:08 AM
Unknown Object (File)
Aug 25 2025, 6:48 AM
Unknown Object (File)
Aug 19 2025, 7:31 AM
Unknown Object (File)
Aug 17 2025, 12:34 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