Browse Source

minor cleanup

Eric Andersen 21 years ago
parent
commit
cea5b5c065
1 changed files with 2 additions and 0 deletions
  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);