Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Conf: Invert deactivation hook order.

  • Loading branch information...
commit 2d0d3f11cf3b336c27bd36880c1794dbf641237c 1 parent 315a9fc
@tomas tomas authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/conf/cli.js
View
6 lib/conf/cli.js
@@ -259,10 +259,10 @@ var run = function(cb) {
// should be called from /usr/lib/prey/versions/1.5.2
cli.command('deactivate', 'Unsets execution and unlinks current version.', function(cmd){
cmd.start(function(values){
- unset_current(function(err){
+ run_pre_uninstall(function(err){
if (err) return cb(err);
- run_pre_uninstall(cb);
- });
+ unset_current(cb)
+ })
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.