-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ds-identify): relocate /run on *BSD
shuffle code-paths around such that we initialize RUN_PATH, and all the things that depend on it after figuring out which OS we're on, while still alowing these global variables to be overwritten from the outside. On BSD /run is not ephemeral, so here we set RUN_PATH to /var/run. Ensure everything is initialized for 'print_info', not just for 'main'. Sponsored by: The FreeBSD Foundation
- Loading branch information
Showing
1 changed file
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters