Highly unlikekly, but chdir() needs to be checked
@@ -484,7 +484,8 @@ int main(int argc, char *argv[])
setenv("PATH", _PATH_STDPATH, 1);
setenv("SHELL", _PATH_BSHELL, 1);
- chdir("/");
+ if (chdir("/"))
+ _pe("Failed cd /");
umask(0);
/* Allow progress, if enabled */
