Skip to content

Commit

Permalink
Fix wipe on windows and prey-user bin on monterrey
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Acuna committed Dec 5, 2021
1 parent 87f8ca4 commit c771a94
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 c771a94

Please sign in to comment.