Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit bcc2f4e

Browse files
committed
Merge pull request #1370 from OpenBazaar/fix-segfault
Change SIGHUP to SIGINT for Linux
2 parents b33d4f1 + 0ead645 commit bcc2f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ app.on('ready', function() {
348348

349349
if(subpy) {
350350
if(platform == "mac" || platform == "linux") {
351-
subpy.kill('SIGHUP');
351+
subpy.kill('SIGINT');
352352
} else {
353353
require('child_process').spawn("taskkill", ["/pid", subpy.pid, '/f', '/t']);
354354
}

0 commit comments

Comments
 (0)