Updated exec functions

This commit is contained in:
Michiel Broek
2004-08-13 14:30:17 +00:00
parent bd740ae688
commit f7aa43b328
3 changed files with 8 additions and 5 deletions

View File

@@ -323,6 +323,7 @@ int exec_nosuid(char *mandato)
if (pid == -1)
return 1;
if (pid == 0) {
msleep(150);
char *argv[4];
argv[0] = (char *)"sh";
argv[1] = (char *)"-c";