mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix invalid-$DISPLAY error being non-text
Given nabijaczleweli@tarta:~$ DISPLAY=komputerek-x40.:0 gnucash Run 'g --help' to see a full list of available command line options. Error: could not initialise graphical user interface and option add-price-quotes was not set. Perhaps you need to set the $DISPLAY environment variable?nabijaczleweli@tarta:~$ we can obviously see the error output isn't a text file.
This commit is contained in:
parent
cab6173cd5
commit
da659cf765
@ -296,7 +296,8 @@ main(int argc, char ** argv)
|
||||
<< "\n"
|
||||
// Translators: Do not translate $DISPLAY! It is an environment variable for X11
|
||||
<< _("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?");
|
||||
"Perhaps you need to set the $DISPLAY environment variable?")
|
||||
<< "\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user