mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-08 06:12:13 +00:00
Fix dbg.args for linux
This commit is contained in:
parent
03b259f6ff
commit
1d3df40c0c
@ -332,7 +332,9 @@ static int fork_and_ptraceme(RIO *io, int bits, const char *cmd) {
|
||||
r_str_argv_free (argv);
|
||||
exit (1);
|
||||
} else {
|
||||
char *_cmd = strdup (cmd);
|
||||
char *_cmd = io->args ?
|
||||
r_str_concatf (strdup (cmd), " %s", io->args) :
|
||||
strdup (cmd);
|
||||
argv = r_str_argv (_cmd, NULL);
|
||||
if (!argv) {
|
||||
free (_cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user