Terminate mainloop after error message when trying to start it in daemon mode.

This commit is contained in:
Dave Davenport 2016-03-13 20:11:39 +01:00
parent 545c423b61
commit 9549dfdd3e

View file

@ -595,6 +595,7 @@ static gboolean startup ( G_GNUC_UNUSED gpointer data )
// Daemon mode
fprintf ( stderr, "Rofi daemon mode is now removed.\n" );
fprintf ( stderr, "Please use your window manager binding functionality or xbindkeys to replace it.\n" );
g_main_loop_quit ( main_loop );
}
return G_SOURCE_REMOVE;