Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3551603

Browse files
author
Alexander Korotkov
committed
Use proc_exit(1) instead of plain exit(1) on WL_POSTMASTER_DEATH in collector
background worker.
1 parent 4fdf032 commit 3551603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ collector_main(Datum main_arg)
356356
profile_period - (int)profile_diff));
357357

358358
if (rc & WL_POSTMASTER_DEATH)
359-
exit(1);
359+
proc_exit(1);
360360

361361
ResetLatch(&MyProc->procLatch);
362362

0 commit comments

Comments
 (0)