Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SIGSEGV when can't writer output
This fixes SIGSEGV (Segmentation Fault) when output file can't be opened for writting binary (wb). Instead display error message on what's wrong and exit with failure status (aka. errorlevel). This will make it more clear to user who forgot to "sudo" etc.
- Loading branch information