mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-01 21:02:39 +08:00
#5657 Fix wrong logic about checking if serial key expired
This commit is contained in:
parent
859608424d
commit
e65631c451
@ -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…
Reference in New Issue
Block a user