Skip to content
  • Sebastian Stark's avatar
    make main() exit with an appropriate exit code · f5586733
    Sebastian Stark authored
      - basically move all of main() into another function and make that
      deal with errors
      - this enables defers to run properly on exit
      - needs a lot more fixes deeper in the code to never use os.Exit() and
      such
    f5586733