Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.7.0
-
None
-
None
Description
In the case statement at the very bottom of /etc/init.d/hbase-regionserver, we are picking up the return code implicitly. We should perhaps be explicitly collecting the code returned by each of the functions (start, stop, etc.) in a new variable and return that variable in the end instead of $?. This might make the code less fragile when being changed.