summaryrefslogtreecommitdiff
path: root/src/machine/machined.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-02-17 19:22:03 +0100
committerLennart Poettering <lennart@poettering.net>2015-02-17 19:22:36 +0100
commit0370612e0522191f929e3feb7d4937fff3d421e2 (patch)
treed991bb0f0039c499229da7b48f8e232b8fceec7b /src/machine/machined.c
parentc7abe32be167ded048a5bb8a912faf2e745b20cb (diff)
machined: make "machinectl copy-to" and "machinectl copy-from" server side operations
This way, any bus client can make use of these calls.
Diffstat (limited to 'src/machine/machined.c')
-rw-r--r--src/machine/machined.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c
index 6877c2b313..1373362e9d 100644
--- a/src/machine/machined.c
+++ b/src/machine/machined.c
@@ -325,6 +325,8 @@ int main(int argc, char *argv[]) {
* check stays in. */
mkdir_label("/run/systemd/machines", 0755);
+ assert_se(sigprocmask_many(SIG_BLOCK, SIGCHLD, -1) >= 0);
+
m = manager_new();
if (!m) {
r = log_oom();