commit 79d7ae42efd8af8fe212aafc5a2f8de15b309f78
parent c175fb62220ce92568e87787b9835fda1c60ba25
Author: awy <awy@awy.one>
Date: Fri, 2 Jan 2026 23:47:33 +0300
stmail
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/stmail.c b/components/stmail.c
@@ -95,15 +95,15 @@ int stmail(void)
if (status != NOTMUCH_STATUS_SUCCESS)
return -1;
+ if (count == 0)
+ return 0;
+
if (access("/tmp/mailupdate", F_OK) != -1) {
/* printf("<span color='#7F7F7F'>[updating]</span>\n"); */
puts("🔃");
return 0;
}
- if (count == 0)
- return 0;
-
printf("%u\n", count);
return 0;