frontend.main() only ever returns None, so there's no point in calling sys.exit with its return value as parameter.