chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yay, we can start socket units
[elogind.git]
/
execute.c
diff --git
a/execute.c
b/execute.c
index 518d7a6b0a0a3cbb6f3353d48c28889623b05b0d..f3b4df930f24f8a768d3b7150c65573efc33f541 100644
(file)
--- a/
execute.c
+++ b/
execute.c
@@
-11,6
+11,7
@@
#include "strv.h"
#include "macro.h"
#include "util.h"
#include "strv.h"
#include "macro.h"
#include "util.h"
+#include "log.h"
static int close_fds(int except[], unsigned n_except) {
DIR *d;
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);
assert(ret);
assert(fds || n_fds <= 0);
+ log_debug("About to execute %s", command->path);
+
if ((pid = fork()) < 0)
return -errno;
if ((pid = fork()) < 0)
return -errno;