HomeClusterLabs Projects

cmapctl: return EXIT_FAILURE on failure

Description

cmapctl: return EXIT_FAILURE on failure

For -g and -d option return EXIT_FAILURE when error occurs (most often
because key does not exist).

Signed-off-by: liangxin1300 <XLiang@suse.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
liangxin1300 <XLiang@suse.com>Authored on Aug 17 2020, 3:14 AM
jfriesseCommitted on Aug 17 2020, 8:59 AM
Parents
rCfb5e0fae9241: tools: use util_strtonum for options checking
Branches
Unknown
Tags
Unknown

Event Timeline