Commit e82018e3 authored by monty@mysql.com's avatar monty@mysql.com

Add newline after pid in pidfile

parent 0fb11030
......@@ -1465,7 +1465,7 @@ static void start_signal_handler(void)
O_WRONLY | O_TRUNC, MYF(MY_WME))) >= 0)
{
char buff[21];
sprintf(buff,"%lu",(ulong) getpid());
sprintf(buff,"%lu\n",(ulong) getpid());
(void) my_write(pidFile, buff,strlen(buff),MYF(MY_WME));
(void) my_close(pidFile,MYF(0));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment