Juan Cruz Viotti f530dfcc3c Return to avoid any further code execution after an elevation error
Turns out that even by using `process.exit(1)`, the electron main
process doesn't exit instantly, but continues executing code.

This causes electron to throw on `electron.globalShortcut` because this
functionality is not available given that we didn't create a renderer
view.

Fixes: https://github.com/resin-io/etcher/issues/215
2016-03-25 09:41:30 -04:00
..
2016-03-21 09:19:20 -04:00
2016-03-02 12:32:01 -04:00
2016-03-10 14:38:58 -04:00