Merge "Report underlying integer for unknown capabilities"

This commit is contained in:
Jenkins 2016-09-13 17:55:08 +00:00 committed by Gerrit Code Review
commit 61d66ac819
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ class Daemon(object):
def fmt_caps(capset):
if not capset:
return 'none'
fc = [capabilities.CAPS_BYVALUE.get(c, 'CAP_UNDEFINED')
fc = [capabilities.CAPS_BYVALUE.get(c, str(c))
for c in capset]
fc.sort()
return '|'.join(fc)