cleaned up openProcess

This commit is contained in:
antelle 2020-05-07 23:10:23 +02:00
parent 7985a7a522
commit a280258d4f
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class YubiKeyOtpModel extends ExternalOtpDeviceModel {
args: ['list'],
noStdOutLogging: true,
complete: (err, stdout) => {
this.openProcess = null;
if (this.openAborted) {
return callback('Open aborted');
}