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:
parent
4bba577a8b
commit
895921019c
@ -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
|
||||
|
2
HISTORY
2
HISTORY
@ -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
4
vdr.c
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user