commit 51f3f49
default
·
2025-01-06 14:35:18 +0000 UTC
parent 9ded9d6
Don't fail Linux sandboxing if /usr/sbin/sendmail does not exist.
1 files changed,
+1,
-1
+1,
-1
1@@ -94,7 +94,7 @@ LL_BEGIN(sbox_enter_linux_, const char* basedir, const char *address, int smail)
2 LL_PATH(sdir, s);
3 }
4
5- if (smail)
6+ if (smail && mtime("/usr/sbin/sendmail") > 0)
7 LL_PATH("/usr/sbin/sendmail", x);
8
9 if (*address != '/') {