diff --git a/lib/etcher.js b/lib/etcher.js index f02864bc..8bc8abb3 100644 --- a/lib/etcher.js +++ b/lib/etcher.js @@ -32,7 +32,7 @@ electron.app.on('ready', function() { if (error) { electron.dialog.showErrorBox('Elevation Error', error.message); - process.exit(1); + return process.exit(1); } mainWindow = new electron.BrowserWindow({