]> git.sesse.net Git - casparcg/blobdiff - shell/main.cpp
Fixed bug in server shut down.
[casparcg] / shell / main.cpp
index 483c1230cc2aef7186e3c4082cff7e2d1e728de8..d742cb0d9c633f6fe2361cae894035aaa11178f3 100644 (file)
@@ -333,7 +333,7 @@ int main(int argc, char** argv)
                
                CASPAR_LOG(info) << "Successfully shutdown CasparCG Server.";
 
-               if (!should_wait_for_keypress)
+               if (should_wait_for_keypress)
                        wait_for_keypress();
        }
        catch(const boost::property_tree::file_parser_error& e)