Work around crash. echo error to stderr.

This commit is contained in:
Dave Davenport 2016-04-10 15:04:34 +02:00
parent 96cb3a8695
commit cbf625ec9f
1 changed files with 3 additions and 1 deletions

View File

@ -451,7 +451,9 @@ int execute_generator ( const char * cmd )
if ( error != NULL ) {
char *msg = g_strdup_printf ( "Failed to execute: '%s'\nError: '%s'", cmd, error->message );
rofi_view_error_dialog ( msg, FALSE );
fputs(msg,stderr);
fputs("\n", stderr);
// rofi_view_error_dialog ( msg, FALSE );
g_free ( msg );
// print error.
g_error_free ( error );