]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix silly bug whereby it was looking for the configuration file in the wrong place.
authorMike Brady <mikebrady@eircom.net>
Thu, 22 Jun 2017 07:25:45 +0000 (08:25 +0100)
committerMike Brady <mikebrady@eircom.net>
Thu, 22 Jun 2017 07:25:45 +0000 (08:25 +0100)
shairport.c

index 2e221d677642ebc4dd914b2c24b1d6a85d4c5704..b3574b419e2f2b80118acbe9d8a6c043d05c1e4b 100644 (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;