diff options
author | awy <awy@awy.one> | 2025-08-25 20:03:28 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-08-25 20:03:28 +0300 |
commit | 013ac8d3a8e630a389242a527bcc4d140fba104a (patch) | |
tree | a5690823090a28ca673f1d4758ebc746916065b5 /src/stmail.c | |
parent | 4300e4022314514c982ef401b36f3061aa926ca1 (diff) |
updates
Diffstat (limited to 'src/stmail.c')
-rw-r--r-- | src/stmail.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stmail.c b/src/stmail.c index f151d4a..405f8bb 100644 --- a/src/stmail.c +++ b/src/stmail.c @@ -54,8 +54,7 @@ main(void) char path[1024]; struct dirent *entry; - env = getenv("XDG_DATA_HOME"); - if (!env) + if (!(env = getenv("XDG_DATA_HOME"))) die("XDG_DATA_HOME is not set"); snprintf(buf, sizeof(buf), "%s/mail/", env); |