Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow %x and %? to be used in errorcmd. #135

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Commits on Mar 27, 2024

  1. Allow %x and %? to be used in errorcmd.

    When `cmd` fails, the only clue as to why can be its exit code.
    Previously, snare had no way of transmitting this information to the
    user: this commit allows using `%x` and `%?` (the latter borrowing the
    similarly named variable from the shell) to in `errorcmd` to access this
    information.
    ltratt committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    b40e853 View commit details
    Browse the repository at this point in the history