mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-21 05:05:48 +00:00
Fix interactive debugging issue introduced with 8b0afcbc3 (#6397)
This commit is contained in:
parent
12165ab875
commit
fdc7edde68
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user