Merge "Report underlying integer for unknown capabilities"
This commit is contained in:
commit
61d66ac819
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue