Skip to content

Commit

Permalink
fix: revert usage of SIGHUP to SIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Mar 17, 2020
1 parent 93b71cd commit 2948400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/agoric-cli/lib/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default async function startMain(progname, rawArgs, powers, opts) {
const ps = pspawn(agSolo, ['start', '--role=two_client'], {
cwd: agServer,
});
process.on('SIGHUP', () => ps.cp.kill('SIGHUP'));
process.on('SIGINT', () => ps.cp.kill('SIGINT'));
return ps;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/agoric-cli/test/test-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test('workflow', async t => {
stdoutStr += chunk.toString();
if (stdoutStr.match(/^swingset running$/m)) {
successfulStart = true;
startP.cp.kill('SIGHUP');
startP.cp.kill('SIGINT');
}
});
}
Expand Down

0 comments on commit 2948400

Please sign in to comment.