We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c4e68 commit ce1d7dbCopy full SHA for ce1d7db
bin_tests/preload/preload.c
@@ -6,7 +6,6 @@
6
#include <errno.h>
7
#include <fcntl.h>
8
#include <pthread.h>
9
-#include <signal.h>
10
#include <stddef.h>
11
#include <stdio.h>
12
#include <stdlib.h>
@@ -53,10 +52,6 @@ static __thread int collector_marked = 0;
53
52
// Called by the collector process to enable detection in the collector only
54
void dd_preload_logger_mark_collector(void) {
55
collector_marked = 1;
56
- if (log_fd >= 0 || !collector_marked) {
57
- // Already initialized or not a collector
58
- return;
59
- }
60
}
61
62
static void write_int(int fd, long value) {
0 commit comments