posttool-once.sh 149 B

1234567
  1. #!/bin/sh
  2. if test -e .posttool-blocked; then
  3. exit 0
  4. fi
  5. : > .posttool-blocked
  6. printf '%s\n' 'tool output rejected by policy: retry once' >&2
  7. exit 2