mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	VDR now continues to start up, even if there is an error in setup.conf
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -2323,3 +2323,4 @@ Video Disk Recorder Revision History | ||||
|   Kool for reporting this one). | ||||
| - Added a note about the config files of plugins to INSTALL (thanks to Thomas | ||||
|   Keil). | ||||
| - VDR now continues to start up, even if there is an error in setup.conf. | ||||
|   | ||||
							
								
								
									
										6
									
								
								vdr.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								vdr.c
									
									
									
									
									
								
							| @@ -22,7 +22,7 @@ | ||||
|  * | ||||
|  * The project's page is at http://www.cadsoft.de/vdr | ||||
|  * | ||||
|  * $Id: vdr.c 1.165 2003/08/17 08:50:25 kls Exp $ | ||||
|  * $Id: vdr.c 1.166 2003/08/24 11:18:04 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include <getopt.h> | ||||
| @@ -340,8 +340,8 @@ int main(int argc, char *argv[]) | ||||
|  | ||||
|   cPlugin::SetConfigDirectory(ConfigDirectory); | ||||
|  | ||||
|   if (!(Setup.Load(AddDirectory(ConfigDirectory, "setup.conf")) && | ||||
|         Sources.Load(AddDirectory(ConfigDirectory, "sources.conf"), true, true) && | ||||
|   Setup.Load(AddDirectory(ConfigDirectory, "setup.conf")); | ||||
|   if (!(Sources.Load(AddDirectory(ConfigDirectory, "sources.conf"), true, true) && | ||||
|         Diseqcs.Load(AddDirectory(ConfigDirectory, "diseqc.conf"), true, true) && | ||||
|         Channels.Load(AddDirectory(ConfigDirectory, "channels.conf"), false, true) && | ||||
|         Timers.Load(AddDirectory(ConfigDirectory, "timers.conf")) && | ||||
|   | ||||
		Reference in New Issue
	
	Block a user