Skip to content

Commit 1e7911b

Browse files
committed
cs
1 parent e1f747a commit 1e7911b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/lock.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ will be released automatically as soon as one process finishes::
215215

216216
$pid = pcntl_fork();
217217
if ($pid == -1) {
218-
exit('Could not fork');
218+
// Could not fork
219+
exit(1);
219220
} elseif ($pid) {
220221
// Parent process
221222
sleep(30);

0 commit comments

Comments
 (0)