From ee06ca649763754138231a531c12788f3647eec7 Mon Sep 17 00:00:00 2001 From: claudio torres aviles Date: Fri, 13 May 2022 12:20:17 -0400 Subject: [PATCH] changes over some callback undefined --- lib/agent/actions/lock/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/agent/actions/lock/index.js b/lib/agent/actions/lock/index.js index e3ecdc481..6bc5bd22a 100644 --- a/lib/agent/actions/lock/index.js +++ b/lib/agent/actions/lock/index.js @@ -218,7 +218,7 @@ exports.events = ['failed_unlock_attempt']; exports.start = function(id, options, cb){ if (child && is_running()) - return callback(new Error('Lock already running!')); + return cb(new Error('Lock already running!')); if(is_win) setTouchPadState("Disable"); start(id, options, cb);