Explorar o código

* Ported [2453] to 1.2.9

svn: 2601
Bryan Drewery %!s(int64=20) %!d(string=hai) anos
pai
achega
18f1e62132
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/shell.c

+ 3 - 0
src/shell.c

@@ -370,6 +370,9 @@ void check_trace(int start)
   trace = DET_IGNORE;
 #endif /* DEBUG */
 
+  if (trace == DET_IGNORE)
+    return;
+
   pid_t parent = getpid();
 
   /* we send ourselves a SIGTRAP, if we recieve, we're not being traced, otherwise we are. */