mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
+ more verbose error message in case of HTTP daemon failed start
This commit is contained in:
parent
7251ea83d1
commit
f3882f19f5
@ -416,7 +416,7 @@ int main(int argc, char **argv) {
|
||||
MHD_OPTION_END);
|
||||
|
||||
if (daemon == NULL) {
|
||||
cerr << "Unable to instanciate the HTTP daemon."<< endl;
|
||||
cerr << "Unable to instanciate 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 than 256." << endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user