boot(8): exec() bootrc instead of forkinga sub process

cinap_lenrek 2011-06-04 08:43:45 +00:00
parent 70176bc77e
commit f9c92129f3
1 changed files with 1 additions and 1 deletions

View File

@ -60,5 +60,5 @@ boot(int argc, char *argv[])
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);
}