mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 13:53:00 +00:00 
			
		
		
		
	Fix: check for syscmds directory
This commit is contained in:
		| @@ -368,6 +368,14 @@ int main(int argc, char **argv) { | ||||
|         goto cleanup; | ||||
|     } | ||||
|  | ||||
|     if (config->syscmds == true) { | ||||
|         snprintf(testdirname, 400, "%s/syscmds", config->etcdir); | ||||
|         if (!testdir("Syscmds directory", testdirname)) { | ||||
|             printf("Disabling syscmd support\n"); | ||||
|             config->syscmds = false; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     //Create working threads | ||||
|     pthread_t mpd_client_thread, web_server_thread, mympd_api_thread; | ||||
|     //mpd connection | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jürgen Mang
					Jürgen Mang