diff options
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2018-09-27 14:22:42 +0530 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-01 20:01:51 -0400 |
commit | 2cb2e7208e512de2cc6be5361ec6aed480079eb4 (patch) | |
tree | fa9d08f3dd45801b49392175f62342b6463f8f81 /user_mgr.hpp | |
parent | 9f630d9eb0ce1c103532a4304ea080066199094e (diff) | |
download | phosphor-user-manager-2cb2e7208e512de2cc6be5361ec6aed480079eb4.tar.gz phosphor-user-manager-2cb2e7208e512de2cc6be5361ec6aed480079eb4.zip |
Handle empty privilege condition
This fixes issue, which may end up adding "," in the groups
list, when privilege is empty. Allow adding privilege to the
groups list only when it is not empty
Change-Id: I42607c4835547eda4989f85521148a2716bedcb6
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'user_mgr.hpp')
0 files changed, 0 insertions, 0 deletions