summaryrefslogtreecommitdiff
path: root/startup/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'startup/startup.c')
-rw-r--r--startup/startup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/startup/startup.c b/startup/startup.c
index 49ba9ce4..3c757e96 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -1199,9 +1199,10 @@ launch_something (const char *why)
if (something != MACH_PORT_NULL)
{
mach_port_deallocate (mach_task_self (), something);
- if (start_child (tries[try++], NULL) == 0)
+ if (start_child (tries[try], NULL) == 0)
return;
}
+ try++;
}
crash_system ();