diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2016-03-29 11:26:39 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-03-30 12:42:01 -0700 |
commit | dd02c5af9acb77cddc3bbe1ce9a51b7428b24446 (patch) | |
tree | aaed989983a1d99ae0bca1b13ab3b6dd43acc2b6 | |
parent | 171e365449a1461421c62108bf8e569950d7b3bf (diff) |
extras: allign glusterd stop response in init script
An echo is missing stop() function which results in bad allignment of glusterd
stop output
Change-Id: I63ac9571457db90574fb1bfbf4f18ba09d3df1af
BUG: 1321762
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/13839
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
-rwxr-xr-x | extras/init.d/glusterd-Redhat.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in index c6254a066ad..94801fe31a5 100755 --- a/extras/init.d/glusterd-Redhat.in +++ b/extras/init.d/glusterd-Redhat.in @@ -76,6 +76,7 @@ stop() killproc $BASE fi RETVAL=$? + echo [ $RETVAL -eq 0 ] && rm -f $LOCKFILE return $RETVAL } |