diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2020-06-04 14:41:22 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2020-06-04 14:41:22 +0200 |
| commit | 87470479253e3fa53b69ea226b66363f3d572635 (patch) | |
| tree | ce81e5b63303a0c141cbcd4b96a82fc8e06331bf /swaynag | |
| parent | 8e7d832203bd88f904282c4af5f0bcf22066ae8b (diff) | |
Log empty value if envvar is not defined
If the environment variable is not defined, getenv returns NULL.
Passing a NULL pointer to the "%s" format specifier is undefined
behavior. Even if some implementations output "(null)", an empty
string is nicer.
Diffstat (limited to 'swaynag')
0 files changed, 0 insertions, 0 deletions
