Terminate rofi if switcher is not found

This commit is contained in:
Dave Davenport 2016-06-07 09:58:48 +02:00
parent 87461c7ec3
commit e966fbe583
1 changed files with 1 additions and 0 deletions

View File

@ -569,6 +569,7 @@ static gboolean startup ( G_GNUC_UNUSED gpointer data )
}
else {
fprintf ( stderr, "The %s switcher has not been enabled\n", sname );
g_main_loop_quit ( main_loop );
return G_SOURCE_REMOVE;
}
}