this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Apply the same fix from 6bed0dfc5f74858634ca6c76b676cee8bc9ffd92 to spawnShell

+8 -1
+8 -1
src/startup/darling.c
··· 563 563 "/sbin:" 564 564 "/usr/local/bin"); 565 565 566 - const char* login = getlogin(); 566 + const char* login = NULL; 567 + struct passwd* pw = getpwuid(getuid()); 568 + 569 + if (pw != NULL) 570 + login = pw->pw_name; 571 + 572 + if (!login) 573 + login = getlogin(); 567 574 if (!login) 568 575 { 569 576 fprintf(stderr, "Cannot determine your user name\n");