kas: Don't require config for help
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 8 Apr 2012 22:31:31 +0000 (18:31 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 04:43:50 +0000 (21:43 -0700)
commit49ddcc3b3e9645255db394af0256ea374d06766e
tree68e72d61ba6dcb1c538f3db66323e60a11ca620d
parent9037358b6a49d45ba8170a1d71de8b7c678d4f0f
kas: Don't require config for help

Modify the call to ka_Init in kas, so that a fully configured client
isn't required in order to generate help output. In particular, permit
kas -help, kas -version and kas apropos to run without initialising the
ka library.

This fixes a problem with running 'make check' on systems that don't
have an AFS client installed (or where the AFS client is installed in
a different location)

Change-Id: I5edd10a319ed6aee163723f99c4f37183f572b2f
Reviewed-on: http://gerrit.openafs.org/7129
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/kauth/kas.c