Skip to content

Commit

Permalink
Merge pull request #276 from prey/linux-exec-wipe
Browse files Browse the repository at this point in the history
Add child process on linux wipe
  • Loading branch information
javo authored Mar 2, 2017
2 parents 92474b5 + f7f152c commit 3fe795a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/agent/actions/wipe/linux/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var exec = require('child_process').exec;

exports.stopCloudProcess = function(folders, cb) {
folders.forEach(function(value, index) {
exec('pkill -9 ' + folders[index].toLowerCase(), cb)
Expand Down

0 comments on commit 3fe795a

Please sign in to comment.