diff options
| author | 2025-01-06 15:35:18 +0100 | |
|---|---|---|
| committer | 2025-01-06 15:35:18 +0100 | |
| commit | 51f3f49ba0587311306eeca458a2dc67a12a2d49 (patch) | |
| tree | 5d646d1dbd4455c6d1be61aca30c3b18e6a90e7a /sandbox.c | |
| parent | Updated README. (diff) | |
| download | penes-snac2-51f3f49ba0587311306eeca458a2dc67a12a2d49.tar.gz penes-snac2-51f3f49ba0587311306eeca458a2dc67a12a2d49.tar.xz penes-snac2-51f3f49ba0587311306eeca458a2dc67a12a2d49.zip | |
Don't fail Linux sandboxing if /usr/sbin/sendmail does not exist.
Diffstat (limited to '')
| -rw-r--r-- | sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -94,7 +94,7 @@ LL_BEGIN(sbox_enter_linux_, const char* basedir, const char *address, int smail) | |||
| 94 | LL_PATH(sdir, s); | 94 | LL_PATH(sdir, s); |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | if (smail) | 97 | if (smail && mtime("/usr/sbin/sendmail") > 0) |
| 98 | LL_PATH("/usr/sbin/sendmail", x); | 98 | LL_PATH("/usr/sbin/sendmail", x); |
| 99 | 99 | ||
| 100 | if (*address != '/') { | 100 | if (*address != '/') { |