diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2012-12-21 12:23:19 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-01-11 09:12:38 -0800 |
commit | fd32c05f461efd48e46d879cdba85a2fe894a2e0 (patch) | |
tree | cfdc0a3cb63339f664abc1710211391c988bb5a7 /rpc | |
parent | c5a70e5b1b646e5d5e6bec573c6729a7b149345d (diff) |
extras: Changed the exit status in start function to 0.
Problem:
We were returning "1" when "glusterd start" was being called with service
already running. As per
http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
we should consider it to be a success case and return 0.
Fix:
Just changed the return status from 1 to 0.
Change-Id: I8d6d2014f0c32ba53834503e721e2a71df7330a8
BUG: 845653
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/4348
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions