Refresh the patches list.
[deb_shairplay.git] / debian / patches / read_airportkey_from_etc.patch
CommitLineData
e11d53a8
JB
1--- a/src/shairplay.c
2+++ b/src/shairplay.c
3@@ -346,10 +346,10 @@
4 raop_cbs.audio_destroy = audio_destroy;
5 raop_cbs.audio_set_volume = audio_set_volume;
6c034639 6
e11d53a8
JB
7- raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
8+ raop = raop_init_from_keyfile(10, &raop_cbs, "/etc/shairplay/airport.key", NULL);
6c034639 9 if (raop == NULL) {
e11d53a8
JB
10 fprintf(stderr, "Could not initialize the RAOP service\n");
11- fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");
12+ fprintf(stderr, "Please make sure the /etc/shairplay/airport.key file is in the current directory.\n");
13 return -1;
6c034639 14 }
15