From fdc7edde68217b9fc40b4bc36c7c62945938d664 Mon Sep 17 00:00:00 2001 From: Moritz Eckert Date: Thu, 29 Dec 2016 17:56:33 +0100 Subject: [PATCH] Fix interactive debugging issue introduced with 8b0afcbc3 (#6397) --- libr/debug/p/debug_native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/debug/p/debug_native.c b/libr/debug/p/debug_native.c index d5d1a17a4d..70533ec169 100755 --- a/libr/debug/p/debug_native.c +++ b/libr/debug/p/debug_native.c @@ -359,7 +359,7 @@ static RDebugReasonType r_debug_native_wait (RDebug *dbg, int pid) { int ret = waitpid (-1, &status, WAITPID_FLAGS); #else //eprintf ("waiting on pid %d ...\n", pid); - int ret = waitpid (pid, &status, WAITPID_FLAGS|WNOHANG); + int ret = waitpid (pid, &status, WAITPID_FLAGS); #endif // WAIT_ON_ALL_CHILDREN if (ret == -1) { r_sys_perror ("waitpid");