HomeClusterLabs Projects

Fix init script return status

Description

Fix init script return status

In the original variant, function status() overwrite $rtrn 'in global
scope' which leads to a pretended failing stop() function and
respectively failing initscript when called with action stop.

References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686548
Signed-off-by: Christian Schneider <christian.schneider@aoe.com>
Signed-off-by: Christoph Berg <myon@debian.org>

Details

Provenance
Christian Schneider <christian.schneider@aoe.com>Authored on May 5 2016, 3:51 AM
Christoph Berg <christoph.berg@credativ.de>Committed on May 9 2016, 4:04 AM
Parents
rPc93f8ca159cb: Merge pull request #995 from gao-yan/service-action-cleanup
Branches
Unknown
Tags
Unknown

Event Timeline