summaryrefslogtreecommitdiffstats
path: root/src/tools/sssctl/sssctl_data.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-07-01 13:26:38 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-07-07 10:30:18 +0200
commita0b824ac01c6b58fe6055d48aa6e29e94219646d (patch)
treeb9154d25cc54ef10e8ce46c58ab5e97dd368d497 /src/tools/sssctl/sssctl_data.c
parent1ea5a9c1930f531b21f8bc67c9c071d8ce533786 (diff)
downloadsssd-a0b824ac01c6b58fe6055d48aa6e29e94219646d.tar.gz
sssd-a0b824ac01c6b58fe6055d48aa6e29e94219646d.tar.xz
sssd-a0b824ac01c6b58fe6055d48aa6e29e94219646d.zip
TOOLS: Some tools command might not need initialization to succeed
Since we want to use the sssctl tool during upgrade, we need to amend the tools initialization code to not error out if sysdb can't be instantiated, but rather return errno and let the tool handle the error. Each tool command now has a 'allowed errno' the command is able to handle. In this patch iteration, only a single errno can be handled and only the upgrade command is able to do so. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/tools/sssctl/sssctl_data.c')
0 files changed, 0 insertions, 0 deletions