Remove unused variable 'err'

This commit is contained in:
Michael Koch 2020-10-17 17:34:39 +02:00
parent 8aa2516a55
commit 65e54d00dd

View file

@ -616,7 +616,7 @@ const internalCertificate = {
fs.unlinkSync(filepath);
return true;
}).catch((err) => {
}).catch(() => {
return utils.exec('openssl ec -in ' + filepath + ' -check -noout')
.then((result) => {
if (!result.toLowerCase().includes('key ok')) {