From 94de27efb7f9f97d162c1cd6b0a2bb89e3fe555f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 21 Aug 2020 23:08:16 +0200 Subject: Finished proper return of processes --- apps/init.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'apps/init.c') 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; } -- cgit v1.2.3