[erlang-patches] Specify file name and error reason when failing to create cookie

Henrik Nord henrik@REDACTED
Thu Sep 15 11:24:25 CEST 2011


On 09/15/2011 11:01 AM, Magnus Henoch wrote:
> I just got the error "Failed to create cookie file" when running a
> build in our build environment.  It worked when I ran the same
> command manually, so I resorted to patching auth.erl to tell me
> exactly what's wrong.  (Turned out to be an incorrectly set HOME
> variable.)
>
> I imagine this could be useful in general, so here is the patch:
>
> git fetch git://github.com/legoscia/otp.git create_cookie_error_msg
>
> https://github.com/legoscia/otp/compare/create_cookie_error_msg
> https://github.com/legoscia/otp/compare/create_cookie_error_msg.patch
Thank you!

I have included this in 'pu'

-- 
/Henrik Nord Erlang/OTP




More information about the erlang-patches mailing list