#!/usr/bin/env bash
# User-space shim invoked by the watchdog. Delegates to the root-owned
# apricot-rail-mitigate via sudoers (install.sh installs a NOPASSWD rule
# scoped to this one command).
exec sudo -n /var/opt/apricot-health/sbin/apricot-rail-mitigate "$@"
