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:
parent
96cb3a8695
commit
cbf625ec9f
1 changed files with 3 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue