diff options
author | Nalin Dahyabhai <nalin@fedoraproject.org> | 2009-09-14 17:18:59 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@fedoraproject.org> | 2009-09-14 17:18:59 +0000 |
commit | d2ad657773f37625ba46ac96e1442e9d7ef6cc20 (patch) | |
tree | 67494e28bc0d7262db9fb29ae6c9c0ebe38ca356 /kadmind.init | |
parent | 060205dbf8a8cb824394819ba7647539120a1351 (diff) | |
download | krb5-d2ad657773f37625ba46ac96e1442e9d7ef6cc20.tar.gz krb5-d2ad657773f37625ba46ac96e1442e9d7ef6cc20.tar.xz krb5-d2ad657773f37625ba46ac96e1442e9d7ef6cc20.zip |
- specify the location of the subsystem lock when using the status()krb5-1_7-8_fc12F-12-split
function in the kadmind and kpropd init scripts, so that we get the
right error when we're dead but have a lock file - requires initscripts
8.99 (#521772)
Diffstat (limited to 'kadmind.init')
-rwxr-xr-x | kadmind.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kadmind.init b/kadmind.init index 7539a6d..6e248a8 100755 --- a/kadmind.init +++ b/kadmind.init @@ -57,7 +57,7 @@ start() { RETVAL=$? echo if test $RETVAL -ne 0 ; then - if status ${kadmind} > /dev/null ; then + if status -l kadmin ${kadmind} > /dev/null ; then RETVAL=0 fi fi @@ -90,7 +90,7 @@ case "$1" in start ;; status) - status ${kadmind} + status -l kadmin ${kadmind} RETVAL=$? ;; reload) |