diff options
author | Marvin Borner | 2020-08-21 23:08:16 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-21 23:08:16 +0200 |
commit | 94de27efb7f9f97d162c1cd6b0a2bb89e3fe555f (patch) | |
tree | b2ae93419138cd0af46559b0b1f1a03862d62242 /apps/init.c | |
parent | f700ba6668dbdb91a03b2c5aa387eb4cabae8fcd (diff) |
Finished proper return of processes
Diffstat (limited to 'apps/init.c')
-rw-r--r-- | apps/init.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/init.c b/apps/init.c index 64fbde3..07977ee 100644 --- a/apps/init.c +++ b/apps/init.c @@ -10,12 +10,9 @@ int main(int argc, char **argv) { - (void)argc; - printf("ARGC: %d\n", argc); - printf("ARGV: %x\n", argv); - printf("%s loaded.\n", argv[0]); + printf("[%s loaded]\n", argv[0]); - exec("/wm", "wm", argv[1], NULL); - return 0; + int wm = exec("/wm", "wm", argv[1], NULL); + return wm; } |