History

close stdin to make cmd proc exit

Sigrid Solveig Haflínudóttir committed 5 years ago

Commit 7a98f321 parent e835e8c1 file · +2 −0Browse files

Unified · Split

ext4srv.c+2−0
@@ -850,6 +850,7 @@ note(void *, char *s) · 849 unmodified lines
850{850{
851 if(strncmp(s, "sys:", 4) != 0){851 if(strncmp(s, "sys:", 4) != 0){
852 closeallparts();852 closeallparts();
853 close(0);
853 return 1;854 return 1;
854 }855 }
855 856
@@ -908,6 +909,7 @@ static void · 52 unmodified lines
908rend(Srv *)909rend(Srv *)
909{910{
910 closeallparts();911 closeallparts();
912 close(0);
911 threadexitsall(nil);913 threadexitsall(nil);
912}914}
913 915

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t