diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-04 08:43:45 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-04 08:43:45 +0000 |
commit | f9c92129f38f3d4679675b1221f2e8ab269eeaef (patch) | |
tree | 09183aadb7d3a3e0b054d53bf01284bd8136e41e | |
parent | 70176bc77e578198ac8a231fa374029205bfbd5c (diff) |
boot(8): exec() bootrc instead of forkinga sub process
-rw-r--r-- | sys/src/9/boot/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/boot/boot.c b/sys/src/9/boot/boot.c index d4950f475..655545d4c 100644 --- a/sys/src/9/boot/boot.c +++ b/sys/src/9/boot/boot.c @@ -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); } |