summaryrefslogtreecommitdiff
path: root/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-27 04:31:52 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-27 04:31:52 +0100
commitacbb02252a38214ecba3aa8a5c9b3669f9c9317e (patch)
tree6c1d40078a245cd4b94d46b00f273cd5b9514aeb /execute.c
parentb858b600e46f4a25ddc9fb980e5a73ca5aa2690f (diff)
yay, we can start socket units
Diffstat (limited to 'execute.c')
-rw-r--r--execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/execute.c b/execute.c
index 518d7a6b0a..f3b4df930f 100644
--- a/execute.c
+++ b/execute.c
@@ -11,6 +11,7 @@
#include "strv.h"
#include "macro.h"
#include "util.h"
+#include "log.h"
static int close_fds(int except[], unsigned n_except) {
DIR *d;
@@ -111,6 +112,8 @@ int exec_spawn(const ExecCommand *command, const ExecContext *context, int *fds,
assert(ret);
assert(fds || n_fds <= 0);
+ log_debug("About to execute %s", command->path);
+
if ((pid = fork()) < 0)
return -errno;