diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-30 14:40:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-30 14:40:10 +0100 |
commit | cf40f84b825547b89264c1a9ea5e718e98ba93a6 (patch) | |
tree | d03ba213858188c933785ac08fae7c9e68cc71ba /vdr.c | |
parent | 498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c (diff) | |
download | vdr-cf40f84b825547b89264c1a9ea5e718e98ba93a6.tar.gz vdr-cf40f84b825547b89264c1a9ea5e718e98ba93a6.tar.bz2 |
Now taking an active SVDRP connection into account when doing shutdown or housekeeping
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.134 2002/11/24 15:50:16 kls Exp $ + * $Id: vdr.c 1.135 2002/11/30 14:37:45 kls Exp $ */ #include <getopt.h> @@ -638,7 +638,7 @@ int main(int argc, char *argv[]) Interface->Info(tr("Editing process finished")); } } - if (!Interact && ((!cRecordControls::Active() && !cCutter::Active()) || ForceShutdown)) { + if (!Interact && ((!cRecordControls::Active() && !cCutter::Active() && !Interface->HasSVDRPConnection()) || ForceShutdown)) { time_t Now = time(NULL); if (Now - LastActivity > ACTIVITYTIMEOUT) { // Shutdown: |