6c034639 |
1 | --- shairplay-0.9.0.orig/src/shairplay.c |
2 | +++ shairplay-0.9.0/src/shairplay.c |
3 | @@ -313,8 +313,11 @@ main(int argc, char *argv[]) |
4 | |
5 | raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL); |
6 | if (raop == NULL) { |
7 | - fprintf(stderr, "Could not initialize the RAOP service\n"); |
8 | - return -1; |
9 | + raop = raop_init_from_keyfile(10, &raop_cbs, "/etc/shairplay/airport.key", NULL); |
10 | + if (raop == NULL) { |
11 | + fprintf(stderr, "Could not initialize the RAOP service\n"); |
12 | + return -1; |
13 | + } |
14 | } |
15 | |
16 | if (strlen(options.password)) { |