diff options
author | Félix Baylac Jacqué <felix@alternativebit.fr> | 2023-03-01 20:01:36 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2023-03-01 20:50:07 +0100 |
commit | 25300c0ecdedcd8720b996b41e78dfe1037bfcff (patch) | |
tree | a74404a7ff503134cb954794e0b9aca0cd9f0abd /src/libutil/ref.hh | |
parent | 4489def1b36aeaee2254159efc1c21c868cc8585 (diff) |
Treat empty env var paths as unset
We make sure the env var paths are actually set (ie. not "") before
sending them to the canonicalization function. If we forget to do so,
the user will end up facing a puzzled failed assertion internal error.
We issue a non-failing warning as a stop-gap measure. We could want to
revisit this to issue a detailed failing error message in the future.
Diffstat (limited to 'src/libutil/ref.hh')
0 files changed, 0 insertions, 0 deletions