diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -131,8 +131,7 @@ static gint main_method_window_response(GtkWidget *method_window, gint response, if ( ctx->psmode == PEAKSEARCH_CACHED ) { ctx->cache_filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(ctx->cache_file_selector)); if ( !ctx->cache_filename ) { - fprintf(stderr, "Please specify a cache filename!\n"); - gtk_exit(1); + return 1; } } |