summaryrefslogtreecommitdiff
path: root/mail/mlmmj/files/patch-nobounceprobe
blob: d0548d25f8d91ce893ebc61704f677fd57875c3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);