mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 10:16:21 +00:00
Fixed hang when there are multiple '>' in cmd line
This commit is contained in:
parent
3d6584f934
commit
b2d2cb25f7
@ -2025,7 +2025,7 @@ static int r_core_cmd_subst_i(RCore *core, char *cmd, char *colon) {
|
||||
next:
|
||||
#endif
|
||||
/* pipe console to file */
|
||||
ptr = (char *)r_str_lastbut (cmd, '>', "\"");
|
||||
ptr = (char *)r_str_firstbut (cmd, '>', "\"");
|
||||
// TODO honor `
|
||||
if (ptr) {
|
||||
int fdn = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user