aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 13eb689fb..733b06bed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -224,7 +224,7 @@ void establishListen(Options * options) {
exit(EXIT_FAILURE);
}
- if(!options->createDB && !options->updateDB &&
+ if(options->createDB < 0 && !options->updateDB &&
(listenSocket = establish(port))<0)
{
ERROR("error binding port\n");