mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
Write to stdout in daemon mode
Fixes nohup.
This commit is contained in:
parent
262e9fb984
commit
89ac00bd6a
8
v/term.c
8
v/term.c
@ -45,7 +45,13 @@ void
|
|||||||
u2_term_io_init()
|
u2_term_io_init()
|
||||||
{
|
{
|
||||||
u2_utty* uty_u = malloc(sizeof(u2_utty));
|
u2_utty* uty_u = malloc(sizeof(u2_utty));
|
||||||
c3_i fid_i = 0; // stdin, yes we write to it...
|
c3_i fid_i;
|
||||||
|
|
||||||
|
if ( u2_yes == u2_Host.ops_u.dem ) {
|
||||||
|
fid_i = 1;
|
||||||
|
} else {
|
||||||
|
fid_i = 0; // stdin, yes we write to it...
|
||||||
|
}
|
||||||
|
|
||||||
// Initialize event processing. Rawdog it.
|
// Initialize event processing. Rawdog it.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user