neutrino: fix file-check in ExitRun() ... was a c/p error

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 3f60582c78
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-20 (Mon, 20 Nov 2017)

Origin message was:
------------------
- neutrino: fix file-check in ExitRun() ... was a c/p error

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-11-20 23:22:43 +01:00
committed by Thilo Graf
parent cf52be07ee
commit 305ea03d9c

View File

@@ -3880,7 +3880,7 @@ void CNeutrinoApp::ExitRun(int can_shutdown)
if (timer_minutes || leds)
{
/* prioritize proc filesystem */
if (access("/proc/stb/fp/was_timer_wakeup", F_OK) == 0)
if (access("/proc/stb/fp/wakeup_time", F_OK) == 0)
{
FILE *f = fopen("/proc/stb/fp/wakeup_time","w");
if (f)