Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check null pointer for getenv (#147)
In `configRead`, a string was assigned from the return value of `getenv`: ``` string install_dir; install_dir.assign(getenv("NEKRS_HOME")); ``` However, if `NEKRS_HOME` isn't defined, `getenv` will return a null pointer, and `string::assign` will segfault. This update will avoid that issue with an error message.
- Loading branch information