mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-07 04:06:41 -05:00
fix: set line buffering
This commit is contained in:
parent
7656b3f2f5
commit
7b907bcbb9
1 changed files with 2 additions and 1 deletions
3
cage.c
3
cage.c
|
|
@ -6,7 +6,7 @@
|
|||
* See the LICENSE file accompanying this file.
|
||||
*/
|
||||
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
@ -139,6 +139,7 @@ spawn_primary_client(struct cg_server *server, char *argv[], pid_t *pid_out, str
|
|||
*sigchld_source = wl_event_loop_add_fd(event_loop, fd[0], mask, sigchld_handler, server);
|
||||
|
||||
wlr_log(WLR_DEBUG, "Child process created with pid %d", pid);
|
||||
setlinebuf(stdout);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue