diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2022-01-27 15:08:44 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@microsoft.com> | 2022-01-27 15:21:29 +0100 |
commit | 6d7c999ab5958d6f1f192e7d0a63b8c330a077cb (patch) | |
tree | bbe7fe2f5e3ae88bd1ce0209572a77ddd1bbbafd /src/core/namespace.c | |
parent | test: use mksquashfs -noappend (diff) | |
download | systemd-6d7c999ab5958d6f1f192e7d0a63b8c330a077cb.tar.xz systemd-6d7c999ab5958d6f1f192e7d0a63b8c330a077cb.zip |
core: add clearer debug log when setting up ExecDirectories symlinks fails
Diffstat (limited to 'src/core/namespace.c')
-rw-r--r-- | src/core/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index f3c6b58f86..c8dc6c0503 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -1804,7 +1804,7 @@ static int apply_mounts( * exist, which means this will be a no-op. */ r = create_symlinks_from_tuples(root, exec_dir_symlinks); if (r < 0) - return r; + return log_debug_errno(r, "Failed to set up ExecDirectories symlinks inside mount namespace: %m"); /* Create a deny list we can pass to bind_mount_recursive() */ deny_list = new(char*, (*n_mounts)+1); |