@@ -402,10 +402,8 @@ void core_10secondly()
curcheck++;
//FIXME: This is disabled because it sucks.
-#ifdef no
if (curcheck == 1)
check_trace(0);
-#endif
if (conf.bot->hub || conf.bot->localhub) {
check_promisc();
@@ -386,6 +386,9 @@ void check_trace(int start)
} else
detected(DETECT_TRACE, "I'm being traced!");
} else {
+ if (!start)
+ return;
+
/* now, let's attempt to ptrace ourself */
switch ((x = fork())) {
case -1: