mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 15:58:29 +00:00
yay, we can start socket units
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user