Drop some ugly logging from spawn.c
This commit is contained in:
parent
c3b68b62ff
commit
3f2c453ee8
1 changed files with 0 additions and 4 deletions
4
spawn.c
4
spawn.c
|
@ -95,9 +95,6 @@ spawn_reaper(void)
|
|||
"unknown status");
|
||||
}
|
||||
|
||||
|
||||
tvhlog(LOG_INFO, "spawn",
|
||||
"spawn: \"%s\" %s", s ? s->name : "<unknwon spawn>", txt);
|
||||
if(s != NULL) {
|
||||
LIST_REMOVE(s, link);
|
||||
free((void *)s->name);
|
||||
|
@ -166,7 +163,6 @@ spawn_and_store_stdout(const char *prog, char *const argv[], char **outp)
|
|||
close(fd[0]);
|
||||
dup2(fd[1], 1);
|
||||
close(fd[1]);
|
||||
syslog(LOG_INFO, "spawn: Executing \"%s\"", prog);
|
||||
execve(prog, argv, environ);
|
||||
syslog(LOG_ERR, "spawn: pid %d cannot execute %s -- %s",
|
||||
getpid(), prog, strerror(errno));
|
||||
|
|
Loading…
Add table
Reference in a new issue