# Possible bug in current git master

**URL:** <https://discuss.elastic.co/t/possible-bug-in-current-git-master/5523>\
**Category:** Elasticsearch\
**Created:** [October 5, 2011, 5:16pm UTC](https://discuss.elastic.co/t/possible-bug-in-current-git-master/5523 "2011-10-05T17:16:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kun\_Niu](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@Kun\_Niu](https://discuss.elastic.co/u/Kun_Niu)\
**Post date:** [October 5, 2011, 5:16pm UTC](https://discuss.elastic.co/t/possible-bug-in-current-git-master/5523/1 "2011-10-05T17:16:15Z")

</div>

Hi,  
I found that the current linux startup scripts were saved in dos  
format(line ending problem), so it will not start elasticsearch  
correctly.  
In order to make it work, we should save it following a unix format.

Thanks

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 5, 2011, 6:28pm UTC](https://discuss.elastic.co/t/possible-bug-in-current-git-master/5523/2 "2011-10-05T18:28:13Z")

</div>

Are you sure? Fresh clone and download of master hexdump of elasticsearch  
the script shows only LF (U+0A) as newline, no CR (U+0D).

On Wed, Oct 5, 2011 at 7:16 PM, Rent a room [haoniukun@gmail.com](mailto:haoniukun@gmail.com) wrote:

> Hi,  
> I found that the current linux startup scripts were saved in dos  
> format(line ending problem), so it will not start elasticsearch  
> correctly.  
> In order to make it work, we should save it following a unix format.
> 
> Thanks

---

<div class="post-metadata">

**Author:** ![Kun\_Niu](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@Kun\_Niu](https://discuss.elastic.co/u/Kun_Niu)\
**Post date:** [October 5, 2011, 6:51pm UTC](https://discuss.elastic.co/t/possible-bug-in-current-git-master/5523/3 "2011-10-05T18:51:30Z")

</div>

I tried it this morning.  
But I don't mind to try it later today.

Really appreciate your reply.

On Wed, Oct 5, 2011 at 11:28 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Are you sure? Fresh clone and download of master hexdump of elasticsearch  
> the script shows only LF (U+0A) as newline, no CR (U+0D).
> 
> On Wed, Oct 5, 2011 at 7:16 PM, Rent a room [haoniukun@gmail.com](mailto:haoniukun@gmail.com) wrote:
> 
> > Hi,  
> > I found that the current linux startup scripts were saved in dos  
> > format(line ending problem), so it will not start elasticsearch  
> > correctly.  
> > In order to make it work, we should save it following a unix format.
> > 
> > Thanks

--  
牛坤  
[MSN:haoniukun@hotmail.com](mailto:MSN:haoniukun@hotmail.com)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:52am UTC](https://discuss.elastic.co/t/possible-bug-in-current-git-master/5523/4 "2017-07-06T03:52:43Z")

</div>


