Ver Fonte

* Ported [2453] to 1.2.9

svn: 2601
Bryan Drewery há 20 anos atrás
pai
commit
18f1e62132
1 ficheiros alterados com 3 adições e 0 exclusões
  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. */