summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextras/init.d/glusterd-Redhat.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in
index 15da246870a..50ee5db7b8a 100755
--- a/extras/init.d/glusterd-Redhat.in
+++ b/extras/init.d/glusterd-Redhat.in
@@ -16,17 +16,19 @@ RETVAL=0
# Start the service $BASE
start()
{
- echo $"Starting $BASE:"
+ echo -n $"Starting $BASE:"
daemon $GLUSTERD
RETVAL=$?
+ echo
[ $RETVAL -ne 0 ] && exit $RETVAL
}
# Stop the service $BASE
stop()
{
- echo $"Stopping $BASE:"
+ echo -n $"Stopping $BASE:"
killproc $BASE
+ echo
}