Skip to content

Commit 2948400

Browse files
committed
fix: revert usage of SIGHUP to SIGINT
1 parent 93b71cd commit 2948400

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/agoric-cli/lib/start.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default async function startMain(progname, rawArgs, powers, opts) {
9797
const ps = pspawn(agSolo, ['start', '--role=two_client'], {
9898
cwd: agServer,
9999
});
100-
process.on('SIGHUP', () => ps.cp.kill('SIGHUP'));
100+
process.on('SIGINT', () => ps.cp.kill('SIGINT'));
101101
return ps;
102102
}
103103

packages/agoric-cli/test/test-workflow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test('workflow', async t => {
5757
stdoutStr += chunk.toString();
5858
if (stdoutStr.match(/^swingset running$/m)) {
5959
successfulStart = true;
60-
startP.cp.kill('SIGHUP');
60+
startP.cp.kill('SIGINT');
6161
}
6262
});
6363
}

0 commit comments

Comments
 (0)