~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't fatal() if cannot create a root account
[disorder]
/
server
/
trackdb.c
diff --git
a/server/trackdb.c
b/server/trackdb.c
index
59f755f
..
b0eb383
100644
(file)
--- a/
server/trackdb.c
+++ b/
server/trackdb.c
@@
-182,6
+182,7
@@
static pid_t subprogram(ev_source *ev, const char *prog,
setpriority(PRIO_PROCESS, 0, 0);
execlp(prog, prog, "--config", configfile,
debugging ? "--debug" : "--no-debug",
setpriority(PRIO_PROCESS, 0, 0);
execlp(prog, prog, "--config", configfile,
debugging ? "--debug" : "--no-debug",
+ log_default == &log_syslog ? "--syslog" : "--no-syslog",
(char *)0);
fatal(errno, "error invoking %s", prog);
}
(char *)0);
fatal(errno, "error invoking %s", prog);
}
@@
-1024,7
+1025,6
@@
static int stats_finished(ev_source attribute((unused)) *ev,
static int stats_read(ev_source attribute((unused)) *ev,
ev_reader *reader,
static int stats_read(ev_source attribute((unused)) *ev,
ev_reader *reader,
- int attribute((unused)) fd,
void *ptr,
size_t bytes,
int eof,
void *ptr,
size_t bytes,
int eof,
@@
-1040,7
+1040,6
@@
static int stats_read(ev_source attribute((unused)) *ev,
}
static int stats_error(ev_source attribute((unused)) *ev,
}
static int stats_error(ev_source attribute((unused)) *ev,
- int attribute((unused)) fd,
int errno_value,
void *u) {
struct stats_details *const d = u;
int errno_value,
void *u) {
struct stats_details *const d = u;