1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-03 15:34:54 -05:00

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

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 );