Usermode/init - Fixed bad stderr for 'exec' commands
authorJohn Hodge <[email protected]>
Wed, 10 Jul 2013 12:28:24 +0000 (20:28 +0800)
committerJohn Hodge <[email protected]>
Wed, 10 Jul 2013 12:28:24 +0000 (20:28 +0800)
Usermode/Applications/init_src/main.c

index b3740f3..ff34796 100644 (file)
@@ -289,7 +289,7 @@ int ProcessInittab(const char *Path)
                        if(!command)
                                goto lineError;
 
-                       int handles[] = {0, 1, 2};
+                       int handles[] = {0, 1, 1};
                        int pid = _SysSpawn(command[0], (const char **)command, NULL, 3, handles, NULL);
                        int retstatus;
                        _SysWaitTID(pid, &retstatus);

UCC git Repository :: git.ucc.asn.au