Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2018-02-07 10:46:39 +01:00
commit 21860c9bbe

View file

@ -315,7 +315,8 @@ bool Util::startInput(std::string streamname, std::string filename, bool forkFir
FAIL_MSG("Forking process for stream %s failed: %s", streamname.c_str(), strerror(errno)); FAIL_MSG("Forking process for stream %s failed: %s", streamname.c_str(), strerror(errno));
return false; return false;
} }
if (filename.substr(0, 21) == "push://INTERNAL_ONLY:"){ if (pid && filename.substr(0, 21) == "push://INTERNAL_ONLY:"){
Util::Procs::setHandler();
Util::Procs::remember(pid); Util::Procs::remember(pid);
} }
}else{ }else{