fix bug with --no-create-db

git-svn-id: https://svn.musicpd.org/mpd/trunk@1373 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-06-07 16:32:58 +00:00
parent 49df55bd9a
commit 817e79e3c1
1 changed files with 1 additions and 1 deletions

View File

@ -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");