Update hyperiond.cpp

Former-commit-id: e7fe63bd3fed3c0132d07f6835f94988754e9a91
This commit is contained in:
poljvd 2013-10-16 18:04:43 +02:00
parent 790af5c682
commit d2738ef5f6

View File

@ -83,7 +83,11 @@ int main(int argc, char** argv)
if (config.isMember("bootsequence"))
{
bootSequence = BootSequenceFactory::createBootSequence(&hyperion, config["bootsequence"]);
bootSequence->start();
if (bootSequence != nullptr)
{
bootSequence->start();
}
}
// create XBMC video checker if the configuration is present