chiark / gitweb /
exec-util: drop redundant log message in do_spawn()
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Dec 2017 16:11:49 +0000 (17:11 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:51 +0000 (07:49 +0200)
safe_fork() logs that anyway, hence no need to do this twice.

src/basic/exec-util.c

index 2a43f78a11e74df85cfccc17ff304ac344fb734b..f3182d3064e3fadec56d83a0356b68761e4bb909 100644 (file)
@@ -82,7 +82,6 @@ static int do_spawn(const char *path, char *argv[], int stdout_fd, pid_t *pid) {
                 _exit(EXIT_FAILURE);
         }
 
-        log_debug("Spawned %s as " PID_FMT ".", path, _pid);
         *pid = _pid;
         return 1;
 }