summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-30 14:40:10 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-30 14:40:10 +0100
commitcf40f84b825547b89264c1a9ea5e718e98ba93a6 (patch)
treed03ba213858188c933785ac08fae7c9e68cc71ba /vdr.c
parent498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c (diff)
downloadvdr-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index d27f302b..214cdfd2 100644
--- a/vdr.c
+++ b/vdr.c
@@ -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: