소스 검색

* Ported [2453] to 1.2.9

svn: 2601
Bryan Drewery 20 년 전
부모
커밋
18f1e62132
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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. */