If Electron fails (e.g., exits with code 1), electroshot will still exit with code 0. This makes it more difficult to determine if electroshot failed (I have to grep for "Electron exited with..."). This is a simple fix to have electroshot exit with the same code that Electron does.
If Electron fails (e.g., exits with code 1), electroshot will still exit with code 0. This makes it more difficult to determine if electroshot failed (I have to grep for "Electron exited with..."). This is a simple fix to have electroshot exit with the same code that Electron does.