adding a proper exit code
Merge pull request #50 from arbus/error_code

Adding a proper exit code. Fixes #38, #50.
Merge branch 'master' into collapsible-menu-with-package-fix