ref: f9c92129f38f3d4679675b1221f2e8ab269eeaef
parent: 70176bc77e578198ac8a231fa374029205bfbd5c
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Jun 4 04:43:45 EDT 2011
boot(8): exec() bootrc instead of forkinga sub process
--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -60,5 +60,5 @@
snprint(buf, sizeof(buf), "/%s/bin", cputype);
bind(buf, "/bin", MAFTER);
bind("/rc/bin", "/bin", MAFTER);
- run("/bin/bootrc", nil);
+ execl("/bin/bootrc", "bootrc", nil);
}