mirror of
https://github.com/debauchee/barrier.git
synced 2025-08-06 10:09:28 +02:00
#5657 Fix wrong logic about checking if serial key expired
This commit is contained in:
parent
859608424d
commit
e65631c451
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ Server::switchScreen(BaseClientProxy* dst,
|
|||
assert(dst != NULL);
|
||||
|
||||
// if trial is expired, exit the process
|
||||
if (!m_args.m_serial.isExpired(std::time(0))) {
|
||||
if (m_args.m_serial.isExpired(std::time(0))) {
|
||||
LOG((CLOG_ERR "trial has expired, aborting server"));
|
||||
exit(kExitSuccess);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue