Fix being unable to restart session

This commit is contained in:
loki
2020-02-10 00:33:12 +01:00
parent f56e7fc50d
commit bb95d6ab52
11 changed files with 142 additions and 99 deletions
+1 -1
View File
@@ -686,7 +686,7 @@ int create_creds(const std::string &pkey, const std::string &cert) {
return 0;
}
void start(std::shared_ptr<safe::event_t<bool>> shutdown_event) {
void start(std::shared_ptr<safe::signal_t> shutdown_event) {
if(!fs::exists(config::nvhttp.pkey) || !fs::exists(config::nvhttp.cert)) {
if(create_creds(config::nvhttp.pkey, config::nvhttp.cert)) {
shutdown_event->raise(true);