diff options
author | Justin Trudell <justin.trudell.4@gmail.com> | 2019-11-01 12:00:16 -0700 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-11-03 22:05:48 +0900 |
commit | 0ccdaa79ca69a40e4ad8b3e63b1236734751452e (patch) | |
tree | fc9566beb858830c4a8ddd059be224b6acd91530 | |
parent | fe573a798da7924aca78eaa8e76a462686071335 (diff) | |
download | systemd-0ccdaa79ca69a40e4ad8b3e63b1236734751452e.tar.gz |
nspawn: respect quiet on capabilities warning
-rw-r--r-- | src/nspawn/nspawn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 070a10fbeb..3513c015b8 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2390,7 +2390,8 @@ static int drop_capabilities(uid_t uid) { /* If we're not using OCI, proceed with mangled capabilities (so we don't error out) * in order to maintain the same behavior as systemd < 242. */ if (capability_quintet_mangle(&q)) - log_warning("Some capabilities will not be set because they are not in the current bounding set."); + log_full(arg_quiet ? LOG_DEBUG : LOG_WARNING, + "Some capabilities will not be set because they are not in the current bounding set."); } |