From 013ac8d3a8e630a389242a527bcc4d140fba104a Mon Sep 17 00:00:00 2001 From: awy Date: Mon, 25 Aug 2025 20:03:28 +0300 Subject: updates --- src/stmail.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/stmail.c') 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); -- cgit v1.2.3