Skip to content

Commit

Permalink
Add missing HAVE_SOCKET guard on in main_lib()
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 authored and kugel- committed Sep 30, 2019
1 parent f40569d commit 82590af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libmain.c
Expand Up @@ -1178,13 +1178,15 @@ gint main_lib(gint argc, gchar **argv)
ui_set_statusbar(TRUE, message, g_strerror(config_dir_result));
g_warning(message, g_strerror(config_dir_result));
}
#ifdef HAVE_SOCKET
if (socket_info.lock_socket == -1)
{
const gchar *message =
_("IPC socket could not be created, see Help->Debug Messages for details.");
ui_set_statusbar(TRUE, "%s", message);
g_warning("%s", message);
}
#endif

/* apply all configuration options */
apply_settings();
Expand Down

0 comments on commit 82590af

Please sign in to comment.