]> git.armaanb.net Git - chorizo.git/commitdiff
Fix "-C": Don't listen on FIFO
authorPeter Hofmann <scm@uninformativ.de>
Sat, 2 May 2015 08:06:28 +0000 (10:06 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Sat, 2 May 2015 08:07:52 +0000 (10:07 +0200)
"-C" was kind of broken. It only prevented lariza from writing to the
FIFO which "worked fine" as long as you only had one "-C" instance
running.

browser.c

index e5c8c27df0cbcd408501d3d91a04f1c0ab1c0a38..a5b49ee927efbe616a112d3a7374be94ac28cde6 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -950,7 +950,8 @@ main(int argc, char **argv)
        }
 
        keywords_load();
-       cooperation_setup();
+       if (cooperative_instances)
+               cooperation_setup();
        downloadmanager_setup();
 
        if (tabbed_automagic && !(cooperative_instances && !cooperative_alone))