diff --git a/daemon.c b/daemon.c index 693af515d3..8bb4d913bd 100644 --- a/daemon.c +++ b/daemon.c @@ -562,7 +562,7 @@ int main(int argc, char **argv) if (!strncmp(arg, "--timeout=", 10)) { timeout = atoi(arg+10); } - if (!strncmp(arg, "--init-timeout=", 10)) { + if (!strncmp(arg, "--init-timeout=", 15)) { init_timeout = atoi(arg+15); } if (!strcmp(arg, "--")) {