Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/parallel/test-vm-sigint-existing-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (process.argv[2] === 'child') {

process.on('SIGINT', common.mustCall(() => {
// Handler attached _after_ execution.
if (afterHandlerCalled++ == 0) {
if (afterHandlerCalled++ === 0) {
// The first time it just bounces back to check that the `once()`
// handler is not called the second time.
process.kill(parent, 'SIGUSR2');
Expand Down