mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
- neutrino: don't write timerinfo's when exiting to reboot
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3889,6 +3889,8 @@ void CNeutrinoApp::ExitRun(int exit_code)
|
||||
if (cs_get_revision() != 10)
|
||||
bright = g_settings.lcd_setting[SNeutrinoSettings::LCD_DEEPSTANDBY_BRIGHTNESS];
|
||||
#endif
|
||||
if (exit_code != CNeutrinoApp::EXIT_REBOOT)
|
||||
{
|
||||
if (timer_minutes)
|
||||
{
|
||||
time_t t = timer_minutes * 60;
|
||||
@@ -3922,6 +3924,7 @@ void CNeutrinoApp::ExitRun(int exit_code)
|
||||
}
|
||||
else
|
||||
perror("fopen /tmp/.timer");
|
||||
}
|
||||
|
||||
delete g_RCInput;
|
||||
g_RCInput = NULL;
|
||||
|
Reference in New Issue
Block a user