mirror of https://github.com/n1nj4sec/pupy.git
Fix typo
This commit is contained in:
parent
1b6ffdf7b4
commit
7761da59e9
|
@ -246,6 +246,8 @@ pid_t memexec(const char *buffer, size_t size, const char* const* argv, int stdi
|
||||||
dup2(p_stdout[1], 1); close(p_stdout[0]);
|
dup2(p_stdout[1], 1); close(p_stdout[0]);
|
||||||
dup2(p_stderr[1], 2); close(p_stderr[0]);
|
dup2(p_stderr[1], 2); close(p_stderr[0]);
|
||||||
} else {
|
} else {
|
||||||
|
int i;
|
||||||
|
|
||||||
if (setsid ( ) == -1)
|
if (setsid ( ) == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue