#!/bin/sh # Never fails visibly, and never fails silently either: hook.py records its # own errors and always exits 0. `exec` on its own would leave any `||` # fallback unreachable, and discarding stderr here is what made a crashing # hook indistinguishable from a quiet one. exec python3 "$(dirname "$0")/hook.py"