mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 03:12:20 -04:00
Merge pull request #485 from karandeeppotato/issue#483
This commit is contained in:
commit
b20e83bd0b
@ -258,10 +258,6 @@ int main(int argc, char** argv)
|
|||||||
server.setBlockExternalLinks(blockExternalLinks);
|
server.setBlockExternalLinks(blockExternalLinks);
|
||||||
|
|
||||||
if (! server.start()) {
|
if (! server.start()) {
|
||||||
cerr << "Unable to instantiate the HTTP daemon. The port " << serverPort
|
|
||||||
<< " is maybe already occupied or need more permissions to be open. "
|
|
||||||
"Please try as root or with a port number higher or equal to 1024."
|
|
||||||
<< endl;
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user