Skip to content

Commit

Permalink
Suggest --headless CLI argument in DisplayServer not found error me…
Browse files Browse the repository at this point in the history
…ssage

This is helpful for newcomers setting up Godot on CI, as this provides
automatic guidance as for why it doesn't run out of the box if
there's no X11 server available.
  • Loading branch information
Calinou committed Dec 21, 2023
1 parent 9d1cbab commit 6da4d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@ Error Main::setup2() {
}

if (err != OK || display_server == nullptr) {
ERR_PRINT("Unable to create DisplayServer, all display drivers failed.");
ERR_PRINT("Unable to create DisplayServer, all display drivers failed.\nUse \"--headless\" command line argument to run the engine in headless mode if this is desired (e.g. for continuous integration).");
return err;
}

Expand Down

0 comments on commit 6da4d5b

Please sign in to comment.