pkcsconf return errors to the command line
pkcsconf return errors to the command line

This patch allows pkcsconf to return a non-zero return code when a failure occurs.  This is helpful when pkcsconf is called from a script because its a simple way to test for success or failure.

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

 usr/sbin/pkcsconf/pkcsconf.c |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

joylatten/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki,shpedoikal/opencryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,joylatten/opencryptoki