1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/mail/mlmmj/files/patch-nobounceprobe
2021-05-24 11:19:21 +02:00

16 lines
417 B
Plaintext

diff --git src/mlmmj-maintd.c src/mlmmj-maintd.c
index 02cfd16..5ac35da 100644
--- src/mlmmj-maintd.c
+++ src/mlmmj-maintd.c
@@ -601,6 +601,10 @@ int probe_bouncers(const char *listdir, const char *mlmmjbounce)
pid_t pid, childpid;
int status;
+ if (statctrl(listdir, "nobounceprobe")) {
+ return 0;
+ }
+
if(chdir(dirname) < 0) {
log_error(LOG_ARGS, "Could not chdir(%s)", dirname);
myfree(dirname);