mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 15:45:12 -04:00
Abort if unable to write pid file.
This commit is contained in:
parent
42f5a90d09
commit
46c5e562bf
@ -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…
Reference in New Issue
Block a user