Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle errors from statedir_set_*_path
In the case of the system default paths being set, potential errors from state_set_*_path functions were being ignored. Handle errors and exit accordingly. Previously the directories were not attempted to be created in this code path so there was no error handling needed but with the mkdir addition, no longer handling this erro will cause segfaults later on as the mkdir failure prevents the path setting further causing uninitalized variables to be used. Signed-off-by: William Douglas <william.douglas@intel.com>
- Loading branch information