Skip to content

Commit

Permalink
Merge pull request #532 from prey/fix-wipe-windows-and-prey-user
Browse files Browse the repository at this point in the history
Fix wipe on windows and prey-user bin on monterrey
  • Loading branch information
javo authored Dec 5, 2021
2 parents 87f8ca4 + c771a94 commit 006adda
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file modified bin/prey-user
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/agent/actions/wipe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exports.start = function(id, opts, cb) {

child('wipe', opts, function(err) {
if (err) last_err = new Error('Wipe command failed through service');
finished(last_err, true);
finished(id, last_err);
});

})
Expand Down
Binary file modified lib/agent/actions/wipe/windows/wipe-win.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions lib/agent/utils/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ exports.do = (perform, opts, cb) => {
}

// Queue's callback...
storage_queue.drain = function() {
console.log('Queue is Done!');
};
// storage_queue.drain = function() {
// console.log('Queue is Done!');
// };

var init = function(type, path, cb) {
storage_path = path ? path : (storage_path ? storage_path : join(config, 'commands.db'));
Expand Down

0 comments on commit 006adda

Please sign in to comment.