]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2018 12:27:27 +0000 (13:27 +0100)
safe_fork() logs that anyway, hence no need to do this twice.

src/basic/exec-util.c

index 762537afc93cff45148ca3d3d497a7c1cb87a893..95194e5f0550b4a5c238f2260747f384dca3e1b1 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;
 }