Fix silly bug whereby it was looking for the configuration file in the wrong place.

This commit is contained in:
Mike Brady
2017-06-22 08:25:45 +01:00
parent f11535f151
commit 5d725ee45b
+2 -1
View File
@@ -971,7 +971,8 @@ int main(int argc, char **argv) {
die("Can not recognise the endianness of the processor.");
strcpy(configuration_file_path, SYSCONFDIR);
strcat(configuration_file_path, "/shairport-sync/");
// strcat(configuration_file_path, "/shairport-sync"); // thinking about adding a special shairport-sync directory
strcat(configuration_file_path, "/");
strcat(configuration_file_path, appName);
strcat(configuration_file_path, ".conf");
config.configfile = configuration_file_path;