Explorar o código

minor cleanup

Eric Andersen %!s(int64=22) %!d(string=hai) anos
pai
achega
cea5b5c065
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      test/unistd/vfork.c

+ 2 - 0
test/unistd/vfork.c

@@ -34,9 +34,11 @@ int main(void)
 	int status, wpid;
 	char *argv[] = {
 		"/bin/ls",
+		"-laF",
 		NULL,
 	};
 
+	clearenv();
 	if ((pid = vfork()) == 0) {
 		printf("Hi.  I'm the child process...\n");
 		execvp(argv[0], argv);