Skip to content

Bug: vbsp exits with code 0 when map has leaks #1756

@minerkid08

Description

@minerkid08

Describe the bug

As part of my puzzlemaker program I am running the compile tools to compile the map, I am using the exit code of the process to detect if it failed or not. For vbsp it returns 0 when the map compiles with a leak meaning that I dont know the compile failed until I run vvis.

To Reproduce

  1. Try to compile any map with a leak
  2. Get the output of vbsp

Issue Map

Any map with a leak

Expected Behavior

When a map has a leak vbsp should exit with something other than 0 to signal that it has failed to compile its part of the bsp.

Operating System

Arch linux (p2ce pano-cc branch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions