···78787979 pidInit = getInitProcess();
80808181+ if (strcmp(argv[1], "shutdown") == 0)
8282+ {
8383+ if (pidInit == 0)
8484+ {
8585+ fprintf(stderr, "Darling container is not running\n");
8686+ return 1;
8787+ }
8888+8989+ // TODO: when we have a working launchd,
9090+ // this is where we ask it to shut down nicely
9191+9292+ kill(pidInit, SIGKILL);
9393+ return 0;
9494+ }
9595+8196 // If prefix's init is not running, start it up
8297 if (pidInit == 0)
8398 {