diff --git a/doorlockd/main.cpp b/doorlockd/main.cpp index 70b35d3..3de78e7 100644 --- a/doorlockd/main.cpp +++ b/doorlockd/main.cpp @@ -192,6 +192,8 @@ int main(int argc, char** argv) } po::notify(vm); + + tokenTimeout = std::chrono::seconds(timeout); } catch(const std::exception &e) {