mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make PATH search do the right thing w/ empty path
This commit is contained in:
parent
a5f3456333
commit
caee314a50
7 changed files with 147 additions and 40 deletions
|
@ -393,7 +393,11 @@ int Serve(void) {
|
|||
if (!Poll() && (!g_timeout || g_interrupted)) break;
|
||||
}
|
||||
close(g_servfd);
|
||||
LOGF("timeout expired, shutting down");
|
||||
if (!g_timeout) {
|
||||
LOGF("timeout expired, shutting down");
|
||||
} else {
|
||||
LOGF("got ctrl-c, shutting down");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue