Skip to content

Commit

Permalink
Bug 610202 - gnucash silently closes when no X11/$DISPLAY is present
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed May 19, 2014
1 parent 15e9bde commit 3cd2fc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/gnucash-bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,8 @@ main(int argc, char ** argv)
if(!gtk_init_check (&argc, &argv))
{
g_printerr(_("%s\nRun '%s --help' to see a full list of available command line options.\n"),
_("Error: could not initialize graphical user interface and option add-price-quotes was not set."),
_("Error: could not initialize graphical user interface and option add-price-quotes was not set.\n"
" Perhaps you need to set the $DISPLAY environment variable ?"),
argv[0]);
return 1;
}
Expand Down

0 comments on commit 3cd2fc5

Please sign in to comment.