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:
parent
49df55bd9a
commit
817e79e3c1
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue