Skip to content

Commit

Permalink
修正posix_setsid()拼写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
elarity committed May 6, 2018
1 parent 4036217 commit d139b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1. php进程daemon化的正确做法.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
exit( ' parent process. ' );
}
// 将当前子进程提升会会话组组长 这是至关重要的一步
if ( ! posxi_setsid() ) {
if ( ! posix_setsid() ) {
exit( ' setsid error. ' );
}
// 二次fork
Expand Down

0 comments on commit d139b3e

Please sign in to comment.