oscam.emmcache is not found at startup if an emm log dir is set
|Reported by:||Mandos||Owned by:||theparasol|
If an emm log dir is configured, oscam.emmcache is saved in the oscam config directory; if not, it goes to /tmp/.oscam/. However, the function emm_load_cache that loads the file at startup only looks in /tmp/.oscam.
When the issue occurs
If an emm log dir is configured.
How the issue is reproducable
Set up an emm log dir, wait for some EMMs, restart OSCam.
As only one log line is required to show the issue, I can see no reason to attach a log file:
2015/02/07 19:00:37 0 s (emmcache) can't read emmcache from file /tmp/.oscam/oscam.emmcache