mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-18 19:44:21 +02:00
Change some output from stderr to stdout
This commit is contained in:
parent
b32659963c
commit
73fcbbf142
1 changed files with 2 additions and 2 deletions
|
|
@ -611,7 +611,7 @@ main(int argc, char *argv[]) {
|
|||
wlr_log_errno(WLR_ERROR, "Unable to set WAYLAND_DISPLAY.",
|
||||
"Clients may not be able to connect");
|
||||
} else {
|
||||
fprintf(stderr,
|
||||
fprintf(stdout,
|
||||
"Cagebreak " CG_VERSION " is running on Wayland display %s\n",
|
||||
socket);
|
||||
}
|
||||
|
|
@ -623,7 +623,7 @@ main(int argc, char *argv[]) {
|
|||
if(show_info) {
|
||||
char *msg = server_show_info(&server);
|
||||
if(msg != NULL) {
|
||||
fprintf(stderr, "%s", msg);
|
||||
fprintf(stdout, "%s", msg);
|
||||
free(msg);
|
||||
} else {
|
||||
wlr_log(WLR_ERROR, "Failed to get info on cagebreak setup\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue