summaryrefslogtreecommitdiff
path: root/detect/gdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'detect/gdb.c')
-rw-r--r--detect/gdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/detect/gdb.c b/detect/gdb.c
index 53a0311..fd0dacd 100644
--- a/detect/gdb.c
+++ b/detect/gdb.c
@@ -48,7 +48,7 @@ int dbg_cmdline(){
48int dbg_ptrace(){ 48int dbg_ptrace(){
49 if(ptrace(PTRACE_TRACEME, 0, 0, 0) == -1) 49 if(ptrace(PTRACE_TRACEME, 0, 0, 0) == -1)
50 return 1; 50 return 1;
51 //TODO : detach ptrace 51 ptrace(PTRACE_DETACH, 0, 0, 0);
52 return 0; 52 return 0;
53} 53}
54 54