diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/execute.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index b165b33af0..43f2764a49 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1545,7 +1545,10 @@ static int exec_child(ExecCommand *command, context->protect_home, context->protect_system, context->mount_flags); - if (err < 0) { + + if (err == -EPERM) + log_error_unit(params->unit_id, "Failed to setup namespace, ignoring: %s", strerror(-err)); + else if (err < 0) { *error = EXIT_NAMESPACE; return err; } |