Skip to content

Commit 11fa164

Browse files
Fix process.kill (#424)
* Changed kill button to SIGKILL instead of SIGTERM * Update mineos.js
1 parent 2ef0f03 commit 11fa164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mineos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ mineos.mc = function(server_name, base_dir) {
887887
if (!(self.server_name in pids)) {
888888
callback(true);
889889
} else {
890-
process.kill(pids[self.server_name].java);
890+
process.kill(pids[self.server_name].java, 'SIGKILL');
891891
var iterations = 0;
892892

893893
async.doWhilst(

0 commit comments

Comments
 (0)