mirror of
https://github.com/urbit/shrub.git
synced 2025-01-01 17:16:47 +03:00
Merge branch 'master' of github.com:urbit/urbit
This commit is contained in:
commit
1b51fc3c4d
12
v/main.c
12
v/main.c
@ -216,17 +216,7 @@ main(c3_i argc,
|
||||
u2_ve_sysopt();
|
||||
|
||||
if ( u2_yes == u2_Host.ops_u.dem ) {
|
||||
c3_i pid;
|
||||
|
||||
signal(SIGHUP, SIG_IGN);
|
||||
if ( -1 == (pid = fork()) ) {
|
||||
perror("fork");
|
||||
exit(1);
|
||||
}
|
||||
if ( pid ) {
|
||||
printf("%s: daemon: process %d\n", argv[0], pid);
|
||||
exit(0);
|
||||
}
|
||||
printf("Starting daemon\n");
|
||||
}
|
||||
|
||||
// Instantiate process globals.
|
||||
|
Loading…
Reference in New Issue
Block a user