Add more informative error message
authorJuho Vähä-Herttua <juhovh@iki.fi>
Mon, 24 Mar 2014 18:41:34 +0000 (20:41 +0200)
committerJuho Vähä-Herttua <juhovh@iki.fi>
Mon, 24 Mar 2014 18:41:34 +0000 (20:41 +0200)
src/shairplay.c

index 424c28fdf25716cc4dabcb56123eb54411b10c55..4b873f127a4bf411cec0dbc03ff0c052faad5ccc 100644 (file)
@@ -349,6 +349,7 @@ main(int argc, char *argv[])
        raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
        if (raop == NULL) {
                fprintf(stderr, "Could not initialize the RAOP service\n");
+               fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");
                return -1;
        }