OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1470-g6b83ba6
Gerrit Code Review
gerrit@openafs.org
Mon, 1 Aug 2011 05:04:00 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6b83ba621b520174dc4679c220888619dc0b44a0
Author: Will Maier <wcmaier@hep.wisc.edu>
Date: Sun Jul 31 14:24:12 2011 +0100
RedHat: Return status values from client init
The init script provided with OpenAFS always returns 0 when the status
subcommand is called, even if the service is not running.
For example:
$ sudo service afs status; echo $?
afsd is stopped
0
This change makes sure the init script exits with the value returned
by the status function from /etc/init.d/functions. With this patch,
the afs init script behaves as expected when used, for example, in a
Chef service resource:
$ sudo service afs status; echo $?
afsd is stopped
3
Change-Id: If3d317fc406746f357e29e0d8d82c7ccf3c192d7
Reviewed-on: http://gerrit.openafs.org/5123
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/packaging/RedHat/openafs-client.init | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository