Page MenuHomeFreeBSD

loader: we can only env_discard() existing variable
ClosedPublic

Authored by tsoome on Feb 25 2024, 10:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 5:42 PM
Unknown Object (File)
Mon, Apr 8, 10:41 PM
Unknown Object (File)
Feb 28 2024, 10:14 AM
Unknown Object (File)
Feb 26 2024, 12:58 PM
Subscribers

Details

Summary

While dropping nvpair from nvstore, we also remove the corresponding
environment variable. By doing so, we should be careful not to try
to unset non-existing variable.

Diff Detail

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