mirror of
https://github.com/curl/curl.git
synced 2026-04-18 06:41:40 +03:00
Abort if unable to write pid file.
This commit is contained in:
parent
42f5a90d09
commit
46c5e562bf
1 changed files with 2 additions and 0 deletions
|
|
@ -802,6 +802,8 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else {
|
||||
fprintf(stderr, "Couldn't write pid file\n");
|
||||
sclose(sock);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
logmsg("Running IPv%d version on port %d",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue