diff --git a/src/ipc.c b/src/ipc.c index 9b8ec14..92f679f 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -37,7 +37,7 @@ int ipc_connect() strncpy(addr.sun_path, SOCKET_PATH, sizeof(addr.sun_path)-1); if (connect(sd, (struct sockaddr *) &addr, sizeof addr) < 0) { - perror("bind"); + fprintf(stderr, "ERROR: Failed to connect to \"" SOCKET_PATH "\", make sure keyd is running and you have permission to access the socket."); exit(-1); }