1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed setting the LastActivity timestamp after a shutdown prompt

This commit is contained in:
Klaus Schmidinger 2002-01-26 14:09:21 +01:00
parent 4bba577a8b
commit 895921019c
3 changed files with 7 additions and 2 deletions

View File

@ -178,3 +178,6 @@ Lauri Pesonen <lauri.pesonen@firsthop.com>
Emil Naepflein <Emil.Naepflein@philosys.de>
for his hint about the 'ftw()' library function
Sergei Haller <Sergei.Haller@math.uni-giessen.de>
for fixing the LastActivity timestamp after a shutdown prompt

View File

@ -911,3 +911,5 @@ Video Disk Recorder Revision History
deleted if an error occured.
- A message is now prompted at the end of the editing process, indicating
whether the process succeeded or failed.
- Fixed setting the LastActivity timestamp after a shutdown prompt (thanks to
Sergei Haller).

4
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
* $Id: vdr.c 1.92 2002/01/26 13:35:05 kls Exp $
* $Id: vdr.c 1.93 2002/01/26 14:07:01 kls Exp $
*/
#include <getopt.h>
@ -514,7 +514,7 @@ int main(int argc, char *argv[])
if (signal(SIGALRM, Watchdog) == SIG_IGN)
signal(SIGALRM, SIG_IGN);
}
LastActivity = Now; // don't try again too soon
LastActivity = time(NULL); // don't try again too soon
continue; // skip the rest of the housekeeping for now
}
}