Abort if unable to write pid file.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user