mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
Fix r2 -2 ##tools
This commit is contained in:
parent
5f75a06969
commit
bcfcf84125
@ -894,7 +894,7 @@ R_API int r_main_radare2(int argc, const char **argv) {
|
||||
R_FREE (debugbackend);
|
||||
return 1;
|
||||
}
|
||||
if (new_stderr == 2) {
|
||||
if (new_stderr != 2) {
|
||||
#if !__wasi__
|
||||
if (dup2 (new_stderr, 2) == -1) {
|
||||
R_LOG_ERROR ("Failed to dup2 stderr");
|
||||
|
Loading…
Reference in New Issue
Block a user