From c459fab7662eaf45df9994c828065b9fc8d4a8ac Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 2 Sep 2018 01:44:40 +0200 Subject: syscalls fine --- userspace/init.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'userspace') diff --git a/userspace/init.c b/userspace/init.c index 6484b78..a82a597 100644 --- a/userspace/init.c +++ b/userspace/init.c @@ -10,10 +10,8 @@ int main(int argc, char **argv) time_t ltime; time(<ime); printf("Current time: %s", ctime(<ime)); - printf("fool-init: spawning a Fool's Shell\n"); - //while(1)printf("x"); // loop forever and spawn shells if the top-shell exits while(1) @@ -33,10 +31,8 @@ int main(int argc, char **argv) // wait until our child process state changes (exits) // and respawn SHELL - while(1); _wait(&status); - printf("fool-init: catched exit of process %d.\n",pid); printf("fool-init: respawning a Fools Shell\n"); -- cgit v1.2.3