[asterisk-dev] no panic [was: Re: [svn-commits] tilghman: trunk r191283 - /trunk/main/asterisk.c]

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Apr 30 08:43:00 CDT 2009


On Thursday 30 April 2009 02:39:18 Tzafrir Cohen wrote:
>
> To reduce panic level and be slightly more informative:
>
> +				ast_log(LOG_WARNING, "chdir(/) failed: %s\n", strerror(errno));

I hear you, but the only reason for that message was because I had to do
something with the return value of chdir().  I actually believe that log
message to be a no-op, as a chdir to / should never fail.  If it did ever
fail, I would love to know the reason why.

-- 
Tilghman



More information about the asterisk-dev mailing list