Changed declaration position in the source

This commit is contained in:
Michiel Broek 2004-09-13 18:20:13 +00:00
parent 2740857e5c
commit 7ee59c275a

View File

@ -314,6 +314,7 @@ int exec_nosuid(char *mandato)
{
int rc, status;
pid_t pid;
char *argv[4];
if (mandato == NULL)
return 1; /* Prevent running a shell */
@ -324,7 +325,6 @@ int exec_nosuid(char *mandato)
return 1;
if (pid == 0) {
msleep(150);
char *argv[4];
argv[0] = (char *)"sh";
argv[1] = (char *)"-c";
argv[2] = mandato;